That’s what you have a grid for. It’s not cloudy and windstill at the same time all over Europe.
Also you can have similar problems with nuclear too. In the last 4 months Germany has been exporting a lot of electricity to France because several nuclear reactors of the same type had to be shut down because they may have a common flaw.