Germany literally shut down working reactors knowing that the power would have to be replaced with coal. That was known.
They were EOL, I'm not sure what you expected them to do with them? I don't really care about whatever pro/anti nuclear stance you have, I think it's pointless to even discuss in the German context because that ship sailed years ago.