It’s not replacing gas/coal but nuclear, so CO2 wise it is a major step back…
Germany first replaced nuclear by lignite, then lignite by wind + lignite/gas, so if you only look at the second step it doesn’t look so bad. But if you look at the whole picture it doesn’t look so good.
France is coming from 75% nuclear and 25% hydro, and has no business adding and firing up gas turbines.
Of course I’m painting things in broad strokes… reality is always a little bit more subtle.