French rail operators will have to trim back around 1,300 rail platforms at a cost of €50m after realising a brand new fleet of trains are too big to fit its stations.
France's secretary of state for transport Frederic Cuvillier called it a "tragically comical" and a "mind-boggling" mix-up.
He blamed a lack of coordination between France's two state rail bodies, the SNCF and the RFF.
The SNCF and the RFF acknowledged the embarrassing situation in a joint statement after it was revealed by satirical weekly Le Canard Enchaine.
Introducing "wider trains in response to the needs of the public requires us to modernise 1,300 of the 8,700 platforms in the French rail network," they said.
According to the Canard Enchaine, the SNCF drew up the specifications for the new-generation trains, including the carriage width.
"But the SNCF's clever engineers forgot to check on the reality on the ground," where the space between platforms varies between stations, it said.
The problem affects 182 regional trains supplied by French manufacturer Alstom and 159 from Canada's Bombardier, which were due to come into service by 2016.
So far, 300 station platforms have been adapted since work began in 2013, with the project set for completion in 2016.
"It can involve chipping a few centimetres off the edge of a platform, or moving an electricity power box located a bit too close to the platform edge," said RFF.
"It's a bit like buying a Ferrari that you want to fit into your garage, but then realising your garage isn't quite Ferrari-sized, because up until now you didn't own a Ferrari," it offered by way of analogy.
The mix-up drew strong condemnation across the political spectrum.
RFF boss Jacques Rapoport gave his personal guarantee that ticket prices would not be affected.
"These trains are new. Whenever we introduce new rolling stock, we need to change the infrastructure," he said.
But the explanations failed to satisfy politicians.
"With the price of train tickets steadily rising over the years, this waste of public money is absolutely insufferable," said Marine Le Pen, the head of the far-right National Front party.