> I'm unaware of any country where you're entitled to require a court order before they can inspect your belongings when passing through a customs inspection
I agree, but I think historical precedent with books and papers is different from our phones. Note that my process still defaults to allowing the agent a casual search. The traveller simply has the right to call foul and require the agent to produce their reasons in front of a judge.
The key difference between searching someones suitcase and their phone is that people don't generally carry their medical and financial records in paper form when they travel.
Medical and financial records have always been legitimate things to search by customs. You may in fact be denied entry if you don't have them in paper form, in some cases.
To some extent yes - I have experienced the financial side of this - but those are generally just statements to prove you have enough money to stay in the country until you leave. Just the same with medical records stating that you don't have an infectious disease.
It doesn't include your entire history of financial transactions and investments, nor does it include a history of all operations and procedures that you had done.
I agree, but I think historical precedent with books and papers is different from our phones. Note that my process still defaults to allowing the agent a casual search. The traveller simply has the right to call foul and require the agent to produce their reasons in front of a judge.