I'm not sure this would be related to immobilizer code. It's known that second/new/replaced charger needs to be flashed with firmware via Toolbox to match the car firmware. Maybe if the firmware doesn't match it's being rejected and stays in such loop until FW is as expected.