I believe that is Serpico’s point, that the police need to be held to objective external standards.
And you can’t legislate morality.