Let's apply your comment to a law against murder. Doesn't have much relevance does it? Your comment isn't germane.
Laws always apply to the people to whom they are written to apply to. It is true that some people don't follow some laws. Presumably violating the law carries some penalty if caught. This does not affect whether or not said law is efficacious or needed.