Police officers, sheriffs, and federal agents are almost universally portrayed as hopelessly corrupt and/or incompetent - or so bigoted, brutal or manipulative in their enforcement of the law that they end up less sympathetic than the criminal protagonists.