Yes, they are flashing firmware into the motor inverter. I don’t know if they can flash it back to factory specs - I’m curious myself.
If you/they cannot flash it back to factory specs, then it would be permanent... even if you remove the module the firmware will remain, and should be trivial...