In addition to automatically setting up the max current limit of the Mobile Charger depending on the NEMA adapter currently connected to the charger, the car will automatically further reduce the current the car draws to prevent the wiring from overheating. The car has no direct way of measuring the wiring's temperature along the entirety of the wiring's path --in fact, it has no way of measuring it anywhere outside the Tesla engineering umbrella -- but it can estimate it based on the voltage the car measures. As the wiring heats up, its resistance increases and the voltage drops. By continually monitoring the voltage, the car uses voltage as a proxy for temperature and adjusts the current draw to keep the voltage --and therefore the wiring's temperature -- in an acceptable range.
I observed this behavior yesterday. My home charger died and for the first time had to charge the vehicle by connecting the Mobile Charger to a 12A receptacle in my garage, through an extension cord. I was concerned about fire hazard and monitored the first few hours of charge closely. The charger recognized the pigtail and set the correct 12A limit. But within an hour the car had dropped its draw to 9A. Eventually, I felt confident enough to let the vehicle charge overnight. This morning, I observed that the car had further dropped its draw to... 7A. Better slow than toasted.