Would that be the Spain with a 5 ft 5inch track guage?
Feel free to consider the implications.
In any event the very best way of moving bulk from Spain is by sea.
Spain does have some standard gauge - maybe there is a main route for freight? ISTR an old system of jacking up whole trains and changing the bogies, which sounds like a proper PITA.
A few years a go there was something in the news about a train coming to the UK from China. Reading the detail of that, there was some trans-shipment on the way.