@chad … i believe a US customs preclearance area (on Canadian soil) actually operates on US law:
Article: Know your rights https://cosocial.ca/@deborahh/114273567144696302
EDIT: Govt of Canada site says this: 👍
(search for "preclearance")
"… you are subject to Cdn law, … You may withdraw request to enter US & leave the … area at any time unless a U.S. preclearance officer suspects on reasonable grounds you have made a false … statement or obstructed an officer. … may then detain you for violations of Cdn law."