That's not how the law works.  Read this piece from Brent Rathgeber to get informed.  The RCMP and CBSA are following the law.

http://ipolitics.ca/2017/02/22/sorry-tony-theres-no-easy-fix-for-the-border-hopping-problem/