Surely it’s not that simple. In Germany, wasn’t it the abandonment of nuclear that ultimately led to the heavy reliance on fossil fuels? I would think that plays a deeper role.
What is now an issue for germany is the move away from domestic or easily replaceable fossil fuels like coal or oil in favour of gas.