That regulation affects not just Tesla, but all car makers. Tesla is certainly innovative, but these restrictions have nothing to do with that innovation; gas-guzzling SUVs cannot be sold direct-to-consumer either.
But Tesla is the only car manufacturer without dealers so they're the only one that can challenge the law without destroying their existing sales channel.