I don't know about France but the plan in California is to end sales of new ICE cars. If you have an existing car you can keep using it.
In Baja cars with California plates and long expired registration tags aren't too uncommon.
What the article says: California to ban the sale of new gasoline cars
What people appear to be reading: California to ban the possession of all gasoline cars
You'll still be able to keep your car and even buy used gasoline cars. Words mean things, don't ignore them.