No. It's also because they moronically shut down nuclear right after Russia happened instead of keeping it longer. Since they can't replace gas too easily, the coal peak will be longer into the future not just current.
>Coal is used to replace gas
No. Coal is used to generate electricity. Do you know what else they could have used to generate electricity? Nuclear.
The reasoning you provided is just the same ol' anti-nuclear propaganda spewed all over German politics and media: "Oh, it's Russia's fault. We can only use coal. Never nuclear."
No, in the first place it's used to generate heat, which is also used for generating electricity, but also to heat up homes and other systems. Nuclear Plants are simply not in a location where they can serve this purpose.
I thought they just restarted old coal plants.
All while accumulating massive debts and deferred maintenance (and relying on german coal).
I'd rather my country have debts than burn coal in large amount for decade (likely decades) to come.
Having so much available renewable electricity that German coal plants would almost shut down for a few days would be a newsworthy event. For France not burning coal is just a regular day (except for last year's hiccups).