Many of the services which could be accessible from those devices are American services with data residing on American servers. I wonder if it is possible to use hacking laws as a means of dissuading border agents from looking at devices. A Canadian agent might have jurisdiction in Canada but what if the get charged under the CFAA in the USA for accessing a server they aren't legally allowed to access. Perhaps it would be possible to design a specific legal/digital service for people to install with servers all over the world as a type of legal landmine meant to punish agents searching data by using hacking laws in many jurisdictions. Think of it like copyleft for stopping agents from snooping.
They are directed to, but what is the penalty for not following directive? South of the border this would mostly result in getting assigned to a desk job.
As you might expect, law enforcement is specifically exempt from the DMCA's antcircumvention provisions. I would imagine that's true for other countries' equivalents as well.