Sounds like a lot of nightmares at the US-Canada border. While Customs / Immigration on both side do have the legal right to do what they do, I look forward to the day when US / Canada borders are similar to Schengen borders in Europe.
Knock off the crap.