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.
The one good thing about France, and what may be their saving grace, is that they really don’t give a flip about what other countries think about them.