Yes. Originally, the social-democrat/green government of 1998-2005 planned to shut down all nuke plants until 2020 or so, but the conservative/liberal democrats government that took over in 2009 stopped that, mostly against the will of the public. After Fukushima, there was such a huge backslash that our dear chancellor decided it might help her popularity more if she changed her mind.
And while tsunamis are rather rare in Stuttgart, the upper rhine rift is an active earthquake zone, and since we unfortunately are not allowed to just sell the waste to Russia to dump in Siberia, we also have to dispose of it somewhere in Germany. If you look at a population-density map, you will find few places with few enough people to accept highly radioactive nuclear waste.
You are right, however, that it is economically somewhat senseless to shut down the nuke plants basically shortly after the subsidies/initial costs paid off, but, well.