I was detained and aggressively searched at the Canadian border (Montana/Alberta, for about 2 hours) in 1997; not because they thought I was a terrorist, but because they wanted to confirm that I wasn't coming to Canada to work. Friends of mine were turned back at the Canadian border later that same year. Canada has always claimed these rights.