The purpose was to protect the independent dealers with stock on the lot or in the order chain. This is not the case with Tesla as The dealers had no stock and no dealer orders in process.
Why is it relevant or fair to protect franchised dealers as opposed to corporate dealers? They're both operating under the law of Ontario, and they both employ Ontarians. And you're incorrect, Tesla DID have inventory both in Ontario, and in transit to Ontario.