California Electrical Code (home of Tesla) and City of Fremont disagrees (home of Tesla Factory).
"The electric vehicle charging system shall be listed by a nationally recognized testing laboratory (i.e., UL) in compliance with UL 2202 “Standard for Electric Vehicle (EV) Charging System Equipment.” (CEC 90.7)
Reference:
https://fremont.gov/documentcenter/view/25378
National Recognized Testing Laboratory (NRTL) includes ETL, UL, and a few others.
Modifying by add a pigtail causes the HPWC to lose it's UL listing. Keep in mind NRTLs use the documentation provided to end-users in their tests. Tesla would have to include instructions how to modify to use a pigtail, and Tesla would have to get it tested by an NRTL for it become listed.