It's not like this is out of the blue. NATO has been training the Ukrainians for eight years because of the risks. The Europeans should have been hedging their bets against Russian gas as well.
Feels a bit like a chicken or egg question. I'm still undecided though, as Russia was funding the green anti nuclear movements in Germany way back when Fukushima happened.
Fwiw, I don't think that renewables plus batteries are a safe hedge anyways. We're simply offshoring the environmental externalities to places far away in terms of energy storage, and China holds all the cards in this instance.
That said, 8 years is a very short time to switch from existing gas pipelines to LNG terminals.
All that green agenda, Kyoto and Paris stuff, affects Russia very badly by basically cancelling its fossil fuel export earnings. Just look at those who lobby the green agenda in Russia like Chubais.