I always thought that the EU's goal of phasing out all new internal combustion engines was attacking the wrong problem. The problems of climate change have not come from burning hydrocarbons per se, they have come from taking carbon-based fuels from the ground. We should phasing out the use of extracted oil for powering internal combustion engines and demanding that cars use air-to-liquid synthesised fuels instead.
There are currently somewhat over 260 million passenger cars in the EU, of which around 90% use an ICE. Banning the sale of new ICEs won't do anything for these nearly quarter billion existing vehicles (or the other 2 billion around the world). Vehicles are long-lived capital purchases and they aren't going away any time soon.
Spending government time, effort and money on improving the synthesis of fuel from CO2 and water would help all of them. The fundamentals of the process have been understood for 150 years, but the oil companies have never had a strong incentive to commercialise them. The oil companies are rich and politically connected, but they also employ many of the best chemical engineers around. Whether you like them or loath them, pragmatically if you want to solve the problem of burning new carbon pulled from the ground then finding a way to have them as an ally who will benefit from the change, rather than an enemy who will fight you tooth and nail, is going to be more effective and quicker.
Personally I like the torque characteristics of electric motors, the low moving part count of EVs and their quiet interiors, but the fact is that there is a huge installed base of old-fashioned motors and a vast infrastructure in place to support them. If you want to cut the net CO2 going into the atmosphere then you need to cut off the source of the new carbon and force the market to pull the existing CO2 out of the air. Couple that with tight particulate regulation on new engines and the market will move to EVs eventually in due course, but in the meantime you can cut the net emissions of the billions of vehicles out there already.