They have to let them stick around for their hearings in court.
So detain them until then. Don't jsut release them.