Or the law will have exceptions for special emergency circumstances. And the government will operate under a permanent state of special emergency circumstances due to the threat to their safety (whatever it is that particular day).
Meanwhile levying big fines against any local stores who use the technology for their own security.