May 21 (UPI) -- A federal judge late Tuesday ordered the Trump administration to maintain custody of migrants being deported to South Sudan and other third-party countries in case the court finds their removal illegal and directs that they be returned to the United States.

Judge Brian Murphy issued his order in response to an emergency request filed Tuesday by lawyers who stated they have evidence that a Myanmar client, identified by the initials N.M., and a Vietnamese client, identified as T.T.P., were being deported to South Sudan in violation of a court order, with other migrants potentially facing the same situation.

In response, Murphy, a President Joe Biden appointee, said the court will allow the government to determine how it complies with the order but expects "that class members will be treated humanely."

He also ordered the Trump administration to disclose during Wednesday's prescheduled hearing the time and manner of each migrant's notice of removal to a third country and what opportunity each had to raise fear-based claims against their removal.

Related