You can transfer euros or sterling into an accont in pesetas or an account in sterling. It is not matter of what is allowed but a monetary issue: Who will give a better rate, the UK or the Spanish bank. In my experience investors send the money in sterling which are exchanged into pesetas once they hit Spain.
Spanish banks are more interested in pounds than UK banks are in euros, so do what every on does and wire down your pounds.