A US federal judge has ordered the release of five-year-old Liam Conejo Ramos and his father from the South Texas Family Residential Centre in Dilley, Texas, according to a ruling obtained by CNN.