Hmmm should I let an unroadworthy car endanger someone's life or turn a blind eye. What about my impeccable 5 star rating?
If the townsfolk (who pressure the politicians who pressure the chief who pressure the officers) would prefer that to you hassling them over those kinds of transgressions then yes. Weed, fireworks on the 4th of July, teenagers fishing without licenses, there's all manner of things that are illegal at the state level yet locally accepted when done tastefully that the cops should not be ticketing people for because the…
Do you want to be healthy and strong in 15 years, or obese in 15 years?
Are your answers to the first compatible with your answers to the second? Even if they are, do you recognise that most people demonstrably don’t? That’s just an analogy, of course — most people want cops to be tough on criminals and recon at least one law (that their community chooses to keep) is dumb and they should be free to ignore it.