This is a great question. I usually try to follow the rules and keep my head down as much as I can. At the train station security I sometimes play a game where I try to walk right past the people with the metal detector wands without letting them frisk me. Now those people are completely useless anyway but they typically make a point of pretending to check everyone. I just walk right past them.
Now I have a couple of friends with much better stories:
Friend 1: He lived in a city with a river splitting it in half. There was a lot of rain over a period of time and the river started to flood. The school he worked at was closed for a few days due to the flooding. The problem: he lived on one side of the river while all of his friends lived on the other side. He didn't want to miss out on three days of drinking and fun during an unexpected vacation from work. So my friend starts to cross the bridge on foot but there is a police officer blocking anyone from crossing. My friend spoke enough Chinese to get the point but he feigned ignorance, waved at the police officer and spoke to him in simple English - basically the officer was frantically trying to make him turn around while my friend was smiling and saying "Hello, nice to meet you, I like China, you're my friend" or something like that. The officer had no clue how to deal with this situation as it was a tier 3 city with few foreigners. Eventually the officer gave up and my friend crossed the bridge.