Compensation for illegal detention and assault in custody