The fact that the laws can not be fully enforced does not negate the usefulness of such laws. Laws against murder, rape and other crimes will probably never reach a 100% conviction rate either. The War on Drugs has substantially reduced drug use (
reference) and legalizing drugs would increase drug use.