There's another factual error in your above comment the previous poster didn't correct: Nuclear energy was replaced with renewables, not coal. It would have been preferable to first replace coal with renewables, then move on to expensive nuclear, but that's a different argument.
Doubling down on your second wrong argument is not giving your observations credence. It was the conservative party in a coalition with the free-market Liberals, who passed the law giving a binding timeline for the nuclear shutdown.