Earlier quoted context omitted.
> Yes, the laws only apply to new vehicles. >because laws will ban the sale of the "old tech". ?
I mean laws will ban the sale of new ICE cars, which by then will be the "old tech". So when you can't even buy one new, why would someone want a used one? (unless, like I said, it's a pleasure driver or some exotic, which is a tiny fraction of all cars sold) Think of all the things that have been replaced and superseded in history - once the new thing exists, the old one drops in price dramatically.
If people would want to buy them before considering availability of new ones, banning new one increases market clearing price of used ones by eliminating an obvious alternative.
Now, as the number on the road dwindles, you'll start to see reduced support infrastructure (gas stations, parts availability, etc.) which will make ownership less attractive, but that's likely to be a slow and lagging process. So, if there are still utility advantages to gas cars, I'd expect used ones to become more expensive initially with a ban on new ones, but drop sometime later.