I hope this statement can be achieved, but I highly doubt it.
If you take a look at this info from Eurostat: https://ec.europa.eu/eurostat/statistic ... 4-2016.png you will see from 2004 to 2016 roughly 8% increase on the total share of renewable sources in 12 years.
Even thinking from now to 2050 (30+ years), in the context of an shrinking economy, I don't see EU countries having economical resources to invest in such extent to reach that target.
Don't get me wrong I believe we must do something to reduce as much as possible our impact on the planet by reducing, first of all, greenhouse gasses emissions. But I believe much more in a multi-side approach, challenging IC industry to get as carbon neutral as possible, EV industry to improve as much as possible battery technology and fuel cell technology to make it much more affordable.
First thing to solve a problem is to be realistic, and forbid one technology which still have potential for much more improvement IMHO is not the way to go.
You know, for example, that there are carbon neutral synthetic fuels already available?
Of course, they are right now much more expensive than Oil based fuels (same as the batteries for the EV). But this is one of the possible multilateral technical approach needed to cope with the challenge we face as humanity.