Question: what would happen if you are asked to unlock your device and you refuse on the grounds that it contains classified material?
Presumably they wouldn't just shrug and say 'OK, then' - but neither could they (if the classifying authority was one they cared about - say, NATO) just say 'Tough luck, now unlock it!', right?