Spain is a hub between Atlantic and Mediterranean countries and South America and a good chunk of the US. Trade against Atlantic countries isn't something alien to us (just ask the Brits in the Industrial Revolution) and the Mediterranean, well, since Iberia, Carthago and Roma...
Spain sucks because the economy can't compete with North Italy? Well, it's miles ahead against South Italy, even the South of Spain hasn't a second world vibe like Italy down from Rome. We are more balanced at least and South with companies like Airbus are thriving.