Hence, in order to have RES you need to emit CO2. Deal with this. The other option, and UK goes that way, is to purchase electricity when it is lacking, paying spot prices, that's why they have such a big electricity bills, economy is down, people get mad and vote psychos.
The solution is dead simple, as France example shows. Simply use nuclear power plants and does not bother with RES, as it does not make any sense now.
Maybe, when we have technology to store efficiently electricity at scale, we can start using RES. But we just do not have that.
The end result now is that electricity in Europe is the most expensive on the World, so all manufacturing is moved to Asia, who does not bother with climate that much, that's why, despite all Europe efforts, overall CO2 emission keeps growing.