Never mind that it doesn't have any positive effect, and a lot of negative effects.
A large part of the current spot price hike is the French bet on going all-in on nuclear: first, half the reactors is offline because they are simply broken down - they bet on Flamanville to replace parts of the extremely aged fleet which infamously failed. Then, the drought led to rivers drying up which means the reactors that are operational simply cannot get cooled, which led to a further reduction in capacity right when AC demands a lot of power, which in turn led to the French buying a shitload of capacity from Germany, and our spare capacity is mostly gas peaker plants since we phased out many coal stinkers over the last year.
The second part is regulatory... the fees that have to be paid for by everyone other than heavy industry for modernizing the grid and build out renewables are a large part, as well as the taxes that add on top of that.
And the last part is that states like Bavaria did their very best to impede the build-out of renewable energies (especially wind farms) and, worse, transit lines that could ship cheap North Sea wind energy to Bavaria - that led to an oversupply in the North where wind and solar have had to tune out because the energy could not be transferred to where it's needed.