U.S. immigration officials are reviewing the “confusion” that led to the “unauthorized” deportation of a mother and her daughter to El Salvador last week as their lawyers fought in Washington to freeze any removals pending the outcome of their court challenge.

U.S. District Judge Emmet Sullivan of the District of Columbia on Aug. 9 lambasted the government for allowing the woman, identified in court papers by the pseudonym Carmen, to be removed despite government lawyers’ contrary representations in court. Sullivan said the government “spirited away” the mother and her daughter, and he ordered the U.S. to “turn that plane around.” The judge called the government conduct “outrageous.”