This is the entire reason why countries like China are investing hard into ultra-high-voltage transmission lines.
While regions like Xinjiang and Inner Mongolia have immense wind and solar potential, getting that electricity to the population centers is challenging.
Selling electricity to Eastern Europe, to Northern Africa, hell even to the Middle East is an option if Europe is truly operating an electricity surplus.