What role does the Judiciary play in ensuring accountability of law enforcement in cases of custodial deaths?

Understanding the judicial oversight in cases of custodial deaths and accountability of law enforcement.