A judge ruled that officials were correct in granting dealer licenses to the EV makers despite objections from the Illinois Automobile Dealers Association, which argued that direct sales by the startups should be halted.