While I agree that it would have been better to phase out coal before nuclear power plants, I also think that those decisions have to be viewed in context and are more nuanced than ‘pretty stupid’.
For example, as other in this thread pointed out, nuclear power plants can be pretty safe to operate IF there is a good culture of safety and protocols in place. Which of course need to be followed and supervised by a strong regulatory body. Two of nuclear power plants in Brunsbüttel and Krümmel were missing this kind of safety culture in the opinion of the regulatory body. They were both operated by Vattenfall. If you lose trust in the operator of such critical infrastructure, then a decision to shut down nuclear power plants has to factor in all the arguments at hand.
It happens so faaaast