When i was working I had to do work in china. Their system is VERY rigid and strict. It's crazy, but, you better do EVERYTHING that is asked. Had a co-worker that our company screwed up on their exit Visa. She is American, but was living in Germany because that is where our company had her based. She was suppose to go back to Germany from China. but, because the company screwed up her exit visa, she was held for 24 hours and then forced back to America because she is American. The company paid for it all, but still sucked for her.
They were nice to her when detaining her. Put her up in a hotel even for the night. They understood she was just a worker and the company messed up. Still, that was after 10 hours in a room while they sorted it out and learned what all happened.