Any bad guy, no matter what his trappings, would NOT act like that Canadian guy did. It is the last thing a bad guy would do and those agents knew it. They just felt like hassling those people. Just one explanatory sentence in a reasonable tone from the first agent to the Canadian would have defused the situation entirely.
I’m not letting the Canadian guy off the hook - he’s from Ontario and lots of people there have an attitude like his. They can be a real pain in the a$$. The border agents must know that and not like it. In one respect, this strikes me like the stories of little old ladies getting frisked at the airport while the middle eastern guy gets a smile and a nod. Wrong focus.
A reasonable compromise might have been to just deny them entry because they refused to co-operate and let them go home without all the bullying.
Unless of course he is the decoy to pull attention away from the other bad guy trying to cross the border. Believe it or not but some bad guys can think multidimensionally.