Definitely not cool behavior but isn't material to the business. Tesla will keep selling units (more than Toyota in California as of this comment [1]), and any legal outcome will be a slap on the wrist with a small (relatively) settlement funded out of ~$23B in cash reserves on hand.
[1] https://cleanenergyrevolution.co/2023/07/26/teslas-californi...