Not sure why you consider them to be "green" given the facts you brought up. Germany has never been particularly green energy wise. It's a big population and lots of heavy industry with relatively little energy resources like hydro.
The are building solar and wind quickly now. Maybe that's why you got the impression that they are "green".
Germany is still very much captured by its coal lobby. The extent to which they are green is that they have a fairly vocal green party .. with 14% of the vote. https://en.wikipedia.org/wiki/Alliance_90/The_Greens
(This is incomprehensible to Anglosphere FPTP two-party systems)
The reason I wrote "green" is because, Germany actively hypes itself up as being very green and many people believe them because they have such a vast amount of solar and wind installed.
Germany's energy policy is one huge cognitive dissonance at best, gross mismanagement in the base case and a three-decade-long foreign intelligence job at worst.
Not sure why you consider them to be "green" given the facts you brought up. Germany has never been particularly green energy wise. It's a big population and lots of heavy industry with relatively little energy resources like hydro.
The are building solar and wind quickly now. Maybe that's why you got the impression that they are "green".