Under the Regulation of Investigatory Powers Act 2000 you have to give your passwords up upon request or face jail. I'm pretty sure that is any passwords and not just for the documents you have on you at the time.
Also not knowing the passwords is not a defence. You have to prove you don't know the password or you are just as guilty.
Techdirt has not posted any stories submitted by WibbleMyFins.