The court ruling in question says if migrant children are detained, it should be short and in facilities that are more like childcare facilities than prisons.