LOL, no law has ever totally prevented any action, there are laws against slitting the throats of children, but it happens.
If laws don’t affect behavior then why are any of us complaining about tax laws?
Where do you guys get this stuff?
Because those of us who the tax laws affect decry giving the Government more authority to take everything we have at gunpoint for not obeying the law.
Those laws only provide the government the authority to take more of what we have--or all of it. They don't attempt to regulate our moral behaviour so much as set the stage for wholesale larceny--and it is guaranteed people will find a way to evade the spirit of that law while complying with the letter of it if possible.