You've just read how Russia literally sabotaged European energy security and you compared this to... some European countries taking a suboptimal decision?
And Europe is not a single country. My country still happily digs out and burns tons of coal (annoying our neighbors in the process). I hope you're proud of us.
It's not suboptimal, it's a geopolitical disaster that people in 50 years will look back on and ask "how did this happen?"