Wrong, Germany is burning less and less fossil fuel because of the massive increase of renewables. Germany aims at 100% renewable energy. The government has passed a law to fade out fossil energy and joined an international alliance of countries who want to do the same.
France, often cited as a sound nuke-advocate (world tally: second nation in raw amount of grid electricity produced by nuclear plants, and first by the part of it) is in fact...
... escaping from it!
A law (2015-992, from 2015, the "loi relative à la transition énergétique pour la croissance verte") states that the part of nuke-produced electricity must fall to less than 50% in 2025, from 72% then, and that renewables must replace it.
2 years later the government (lacking funds and unable to cope) reported it to 2025, then 2 years later to 2035 ("programmation pluriannuelle de l'énergie").
However the political and strategical orientation is perfectly clear, just don't believe France is on the nuke camp.
No one would mock Germany for trying if it were 100% nuclear. But it chose a technology that will delay its exit from fossil fuel economy.