Also the law is not static. Things can go back and forth. Out of phase with whatever trends in news cycles. Watch the Germans debating Nuclear phase out over 30 years.
https://en.wikipedia.org/wiki/Zwentendorf_Nuclear_Power_Plan...
So even through some German politicians are currently discussing nuclear phase-in, no investor will invest in nuclear power in Germany, because no investor could be sure that the next or over-next government with participation of German Greens would not again vote for nuclear phase-out.
As much I like some political ideas of German Greens, I understand that for the older generation of Greens, nuclear power is the prime evil which has to banished from face of the Earth and the reason for existence of the German Green party.