Not true. France had their nuclear fleet in limbo, unable to know how to plan due to EU rules saying X amount of energy must be generated from a green source. Sadly EU (well Germany) blocked that for many years, causing France to be stuck in a position of unable to invest or develop its nuclear energy (which btw they used to export lots, including to Germany). https://www.politico.eu/article/germany-to-veto-eu-plan-to-l...
That got fixed in the end, as long as they agreed to label Gas as green energy generation, which Germany wanted and indeed, needed to comply with EU rules they help create.
You could say Germany handicapped France and held them to ransom, you could say that, but to say France messed up would be utterly unfair with the full context at play.