It's a jobs program for politically-connected middlemen. But even if the government had that power, which I don't think it should have, in the age of the internet, we don't need the huge footprint of vast dealer networks. A few small, low cost showrooms, and just-in-time-delivery of the car the buyer is looking for would cut costs down enormously and increase consumer satisfaction.
It is still a taking of property through government regulation.