The U.S. government said in a court filing on Friday that it has the right to detain children and parents caught crossing the U.S. border illegally for the duration of their immigration proceedings.
A 1997 court settlement known as the Flores agreement has generally been interpreted to require the Department of Homeland Security to release illegal immigrant children from custody after 20 days.