The counterfactual is right next door. France has half the emissions per capita of Germany since it primarily relies on nuclear power.
Your theory that it's France's extensive nuclear use seems unlikely though since Spain, UK, Portugal, Italy etc. all seem to be roughly on par.
My initial guess is that burning coal, or worse lignite or worse peat, seems to be the decisive factor, though high industry usage also plays a part.
If you just compare carbon intensity per KWh produced, then France has a notable lead, 6 times less than Germany, so I wonder what brings them back down into the pack. Is some of that electricity being wasted or used inefficiently?