There is nothing in the Tesla manual for their Wall Charger about a hardware setting. It's all software.
Since the breaker size is set during commissioning and cannot be changed by the user, this would be code-compliant. The gen 1 WC had hardware settings: