From 1903:
THE JAPANESE IMMIGRANT CASE.
An administrative officer, when executing the provisions of a statute involving the liberty of persons, may not disregard the fundamental principles of due process of law as understood at the time of the adoption of the Constitution. Nor is it competent for any executive officer, at any time within the year limited by the statute, to arbitrarily cause an alien who has entered the country, and has become subject in all respects to its jurisdiction, and a part of its population, although illegally here, to be arrested and deported without giving such alien an opportunity, appropriate to the case, to be heard upon the questions involving his right to be and remain in the United States.
https://tile.loc.gov/storage-services/service/ll/usrep/usrep189/usrep189086/usrep189086.pdf
That decision made sense for one illegal alien.
It is using the Constitution as a suicide pact when there is an invasion of millions of illegal aliens.