Wind energy is dispatchable. "Redispatch". Around here the wind turbines are turned off all the time when there's too much energy. The wind farm operators are compensated for that.
Solar is not as trivial which is why batteries and other storage mechanisms are important. Or Power to X things where power can be dumped if needed.