A U.S. i3 would normally sound the alarm a while after it is shut down if an OBD dongle remains plugged in. I don't know how long after shutting down the alarm would sound. I participated in a state of Hawaii pilot program whose goal was to base the annual registration fee on the distance driven with maybe the vehicle's weight considered as well. An OBD dongle was used to transmit distance driven data via a cellular data connection to the DMV. The dongle set off the burglar alarm on our 2014 i3 sometime during the night. To prevent this, the value of the following coding parameter in the Roof Function Center (FZD) could be set to inactive:It's good to try something after you get the car - when I did six months after buying mine, I found that the dealer or previous owner had installed a GPS tracker in the OBD port!
OBD socket alarm (BimmerCode expert mode)
3002->OBD-Alarm: active (default)
However, setting this parameter to inactive is considered to increase the risk of an unknown OBD dongle being installed in one's i3. Maybe that change had been made to your i3 when the GPS tracker was installed.