Germany's plan to wean itself off nuclear power has suffered a submarine setback.