>“The border-search exception is grounded in the recognized right of the sovereign to control, subject to substantive limitations imposed by the Constitution, who and what may enter the country.” Id. at 620. Because “[t]he Government’s interest in preventing the entry of unwanted persons and effects is at its zenith at the international border,” United States v. Flores-Montano, 541 U.S. 149, 152 (2004), “searches made at the border, pursuant to the long-standing right of the sovereign to protect itself by stopping and examining persons and property crossing into this country, are reasonable simply by virtue of the fact that they occur at the border,” Ramsey, 431 U.S. at 616.
https://ww3.ca2.uscourts.gov/decisions/OPN/24-960_complete_o...