If that isn't the case in SF I'd say then that they have obviously failed on all levels at enforcing the law. Not to mention, punishment is definitely not the job of law enforcement.
[0]: https://www.findlaw.com/legalblogs/law-and-life/do-the-polic...
Not sure how that is relevant