detention litigation