I should have made a distinction between land crossings and air entry. Air carriers may be governed by the TSA, while land crossings into the US are staffed by CBP, which falls under Homeland Security I think. I can tell you with 100% certainty that discretion is being exercised by staff in both jurisdictions. It would be imprudent to say more.