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.
The problem with large scale industry investments like nuclear power plants is that they don't follow easily whatever trends in news cycles. It takes years to build a nuclear power plant, but it takes just a single vote in the parliament to stop it. Or a referendum like in Austria.
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.
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.