Just because in Germany the bill was footed by the consumer and geopolitical dependcies (Russia) does not make its CO2 free electricity cheaper. It also still lacks behind France in CO2 emission.
As per recent French nuclear construction they are on a path of replacing it with renewables because it is horrifically expensive and they are unable to finance new construction.