That's irrelevant to the question.
I am not questioning the justification for a law, just the notion that if it is not 100% effective it should be repealed.
I did not intend to imply that laws should exist or not, based on their effectiveness as a deterent (although I can understand from reviewing my words how you might have come to that conclusion).
I should have been clearer.