After doing a little more research I've found out you can take an IR in spain and still use it for UK registered A/C. With the CPL however you will need to obtain a CAA license if you have a CAA ATPL and the same applies to all other JAA member states.
Since the flights schools in Spain are JAA rather than CAA it simply isn't an option. You're better off going to Canada or the USA.