On 14 June 2000, the federal government and the energy companies agreed on ending nuclear power in Germany. The agreement is known as the Atomkonsens, the nuclear consensus. It was signed on 11 June 2001, and in 2002 it was secured in law. In 2010, a new government extended the running times of the plants. This became known as the Ausstieg aus dem Ausstieg, the exit from the exit. After the Fukushima disaster in March 2011, the government reversed course again. On 6 December 2016, the Federal Constitutional Court ruled that the new law was largely compatible with the Basic Law. But the companies had to be compensated. The court said that trust in the electricity quantities granted in 2002 deserved particular protection. Investments made in justified trust in the 2010 extension also had to be compensated. In 2021, the government and the four companies signed a contract. The companies received 2.428 billion euros, and in return they ended all lawsuits over the phase-out.
The state was free to change the agreement. The court made it pay for what the companies had relied on.