“But why has France been able to commit to nuclear power”
I haven’t checked, but I suspect that France (and for that matter, Sweden) got in under the wire, before the Globalists decided to delete nuclear power. More recently, France has been slowly moving to wean themselves off of nuclear, and replace it unicorn farts, I believe.
I think you’re right that France benefited by getting into nuclear power early.
Hopefully they won’t pick leaders so dumb as to throw away their energy independence. But, as know from Biden, that can happen.