detention mandate