The Stanford prison experiment was heavily influenced. In a real-life scenario there are always checks, balances and limits to law enforcement, even in corrupt precincts.
In the Stanford experiment, there was nothing. It was like Lord of the Flies for adults - an artificial environment where things would escalate unnaturally and unrealistically fast. However, even in precincts with Training Day levels of corruption, people in positions of power know that their excesses and abuses still have to have an upper bound.
I'm not attacking you personally on this point, but I studied psychology and have family in law enforcement who have worked in I.A.