Every episode I've ever watched, the real conflict has been between the morally outraged cop and the law. With the morally outraged cop being right, and the partner, boss, judges, etc. who beg for professionalism and respect for the law being misguided persecutors who learn their lessons.