So what? That's how all laws work. What if I don't rob my local convenience store, but someone else does?
Don't make the mistake of logically getting caught up on the idea of laws "preventing crime". They never have, and they never will. The deter crime by providing for penalties when someone breaks the law.