You do have to take enforcement into account when evaluating these laws. Some HNers interpret this as you go to jail for not scanning an ID (which makes sense to programmers because it's a simple if/then), but most of them are actually written as product safety laws, so the government can order you to comply or take your product off the market.