I really don't know about flying in Spain. I haven't done any. What is essential that if you do your exams etc in the UK the school in Spain will be UK approved for the CPL. I know Bae in Jerez is approved by the UK. (I don't think they do "modular" flying though)
I am not sure if the above applies for the IR though.
Whatever you do, get it in writing.