Existing ICEs will likely stay on the road until the 2050s, they will eventually get banned from city centers but many ICEs are already banned (my previous car was banned in 2020 in my city, and my current one will be in 2027, for example) and the used-car market doesn't seem to have suffered much if at all.
No, I get that it's only new cars, but what I meant what was that the attractiveness of an ICE will rapidly diminish way before the cutoff date of 2035. As other comments have said, infrastructure might heavily favour EVs (gas stations, parking lots, residential parking, city bans, tax incentives), making ICEs much less attractive even if you can still technically own and drive them. For new cars, the models that are going to be sold over the next 12 years have already been developed, many car manufacturers have developed their last iteration ICEs, so except facelifts you can essentially just buy 12-year-old models in 2034/2035.
Put another way: Would you want to be the last guy to buy an Intel Mac if Apple had already announced their switch to ARM with all the changes that go along with it? Yes, you can still run it, yes there are still others who run it, but do you want to be the last holdout that buys that Intel machine right before the next Apple keynote finalising the switch?
Existing ICEs will likely stay on the road until the 2050s, they will eventually get banned from city centers but many ICEs are already banned (my previous car was banned in 2020 in my city, and my current one will be in 2027, for example) and the used-car market doesn't seem to have suffered much if at all.