Germany needs nuclear for base load. The current alternatives for base load are natural gas (meh, but maybe not horrible) and coal (horribly dirty, and Germany transitioned from nuclear to coal [!!!], making their energy mix dirtier than the French one, as France still uses a ton of nuclear power plants).
Solar can't be used for base load at the moment.