But voters have a short term memory and will blame it all on the current administration.
But all the big parties and their politicians had a hand in the current desaster, people are quit right to blame all the last 25 years' governments.
Which for some countries means blaming the greens in the current government even though they were absent from previous governments from the last 15 years.
What happened is that the subsidies for renewable energy in Germany mostly led to a buildup of a huge photovoltaic industry in China after an initial goldrush in Europe. When they changed the incentive scheme, the German photovoltaic industry crumbled and the chinese one was kept afloat with local subsidies.
For a while, the equipment suppliers in Europe still profited from the boom in China, but where eventually replaced by Chinese ones. In effect, now both the photovoltaic industry and the equipment industry in Europe largely disappeared.
And to add insult to injury, China is considering to limit photovoltaic exports (potentially as a means to counter the semiconductor sacntions):
https://www.scmp.com/business/article/3208206/chinas-propose...
https://www.statista.com/statistics/1291750/carbon-intensity...