Yep - same for Spain. It now has one of the best high speed rail networks in Europe, paid for by... the EU.
I don't mind this, despite the fact Britain has a crap rail network and we are one of the biggest contributors to the EU pot. By improving European infrastructure, we gain synergy and strengthen our economic position in the world. Note I said 'economic' - the EU does not need to be a super-state.