Until Russia invaded Ukraine, dependency on oil and gas was viewed through the prism of climate change action.