I keep circling back to 'The Wire' as the definitive take on this, though I admit that feels like the obvious answer these days. It’s less about any single officer's crisis of conscience and more about how the entire system—the department, the politics, the city—manufactures dilemmas where there are no good choices. Characters like Carver start off as brash, badge-thumping types, and their journey is about realizing the moral compromises they’ve already made without noticing. The show doesn't give you a clear 'right' path; it just shows how institutional decay forces good cops into gray areas, and how some adapt and some break.
For a more intimate, psychological angle, James Ellroy's 'L.A. Confidential' novels are brutal. It's not just 'should I break the rules?' It's about the corrosive effect of ambition, secrets, and personal vendettas on the very concept of justice. Bud White's violent righteousness and Ed Exley's rigid morality clash in ways that expose how fragile any ethical code is when you're up against real evil and systemic corruption. The dilemma isn't presented as a philosophical puzzle; it's lived in the gut, often with bloody consequences.
A less-discussed one that got under my skin was Tana French's 'In the Woods'. It's technically a murder mystery, but the detective, Rob Ryan, is so tangled in a personal, unresolved trauma that his entire investigation feels ethically compromised from the start. The moral question isn't about bending procedure; it's about whether he's even fit to serve as an officer while haunted by his own past, and whether his pursuit of truth for a current victim is actually a selfish, destructive act of penance. It leaves you feeling unsettled about the whole enterprise of policing.