In the UK they've sidestepped this concern by making the refusal to decrypt an imprisonable offence: https://wiki.openrightsgroup.org/wiki/Regulation_of_Investig...
Though of course it doesn't help if the owner of the device is unknown, as alluded to in the linked article.