Lawyers told the judge planes with migrants were already in the air – one headed for El Salvador, the other for Honduras.