Is your phone locked into a particular network in Ireland?
If yes, a Spanish SIM Card, will in my experience won't work, unless you get a phone-shop in Spain to "unlock" it.
I'm sure you have noticed this service in most Irish towns, similar in Spain, but as in Ireland and Spain, at your...