Depends.
Houses that were built before specific regulations came into force are almost always grandfathered into the old ones.
I myself live in a house built in 1900 which has steep stairs that would be illegal today, but it predates the regs and gets a pass.
If your device can be disabled remotely, it isn’t your device.