Don't forget that if you fly to a country you are also bound by their laws. They can do anything to you as long as they can make it stick under their laws. It's one thing that people often don't realise when flying somewhere, you are basically giving a blanket submission to their laws!
For this reason I have a long blacklist of countries I won't visit because they have laws I do not accept.