Children in makeshift camps along the border are subject to a court-supervised agreement setting standards for their treatment.