“I cant imagine any US LEO or military unit that would enforce this.”
They do it all the time in CA, NY, MA, IL, CT and so on.
It is not illegal to purchase or own a gun in those states.