James caught himself in a Catch 22 here.
Prior court rulings have held that until you clear Customs, you are not technically IN the United States. Hence your Constitutional protections are deemed not yet applicable. They can pretty much do what they want to you.
Should have studied up on that, James.
So, following that logic, if the customs agent finds contraband on you then you can't be charged with smuggling it into the country because you are not "technically" IN the country? Another logical disconnect handed down by the courts.