Honestly !!! Just a question - what you think would happen if one does not hand over the phone for example.
Just did a quick google and from what I saw even the likes of USA, Canada & Aus are able to search your devices if they have reason to believe you have done something illegal, so I guess for China the current climate may be a good enough reason
Could be anyones guess what would happen...