after stating the case as above, delivered the opinion of the Court.
We think that the complaint of the Government is well founded. The petitioners in the writ of
habeas corpus
were aliens who had not been legally admitted to the country — that is, neither the immigration authorities nor the court had held that they were entitled to admission. The immigration authorities had ordered their deportation. The Circuit Court of Appeals merely found that in the course of the examination by the immigration authorities the relators had not been given a fair opportunity to appeal to the Secretary of Labor as provided by the statute. This denial of appeal did not give to them a right to admission to- the country. In the due and orderly disposition of the writ of
habeas corpus,
relators should not have been discharged and their bail released, but the order should have been framed so as to secure the benefit of the appeal to the relators, to which the court by its decision had held them entitled. To discharge them was to take them out of the proper custody of the government authorities pending their admission or exclusion, was to entail upon the Government the affirmative and initial duty of re-arresting them and was improperly discharging the security for their response to any lawful order of the immigration authorities. The mere fact that by re-arrest the Government would not be confronted by any judgment of
res judicata
did not suffice. The power of the court in such a case is indicated by § 761 of the Revised Statutes in reference to
habeas
corpus. The section provides that a court or justice or judge shall proceed in a summary manner to determine the facts of the case by hearing the testimony and arguments and thereupon to dispose of the party as law and justice require. The law and justice here required under the decision of the Circuit Court of Appeals was that the
Counsel for the Government urge that under three decisions of this Court,
Chin Yow
v.
United States,
We concur with the Circuit Court of Appeals in its criticism of the record in this case in that it does not set out more fully the details of the test applied in the examinations. The record is defective also in not showing the definite rulings of the Commissioner or the Board 'of Inquiry on the issues made by Mrs. Waldman in her
We see no reason, therefore, why upon the appeal which it is now decided the Secretary of Labor must afford the relators, he should not consider and make a definite finding on the issues made by the petition, to wit, first, whether the relators are not relieved from the test as to language because they are refugees from religious persecution; second, whether, if it be necessary, a proper test as to the reading knowledge of Yiddish only, which Mrs. Waldman had, was sufficient to meet the requirements of the statute, and, if not, to order another; and, third, whether the lameness of Zenia Waldman is likely to affect her ability to earn her living or to make her a public charge. The order of the Circuit Court of Appeals is reversed and modified in accordance with this opinion, with instructions to remand the petitioners to the custody of the immigration authorities to await the hearing on the appeal before the Secretary of Labor. Failing the granting and hearing of the appeal within thirty days after the coming down of the mandate herein, the re-
Reversed and remanded to the District Court for further proceedings in conformity with this opinion.
