I thought that was The Enforcer (3rd DH film).
Same actor, played by John Vernon aka “don’t piss on my back and tell me it’s raining”(Josey wales) aka Dean Wormer of Animal house. Whenever Scorpio rattled his chain, he was ready to give him whatever he wants.
There was an exchange was when he said (not exact quote) “Callahan, it’s been reported you shot a victim who you said was a rapist, what say you?” Then Callahan replies (not exact quote) “Well Mayor, when a guy is running around naked, bloody with a knife in his hand, I think I have an idea he was the perp.”