I second the thought that the "newness" of the crime, the fact that he's a foreigner, and that he was very friendly and open when they questioned him was the saving grace. I've never been in really serious trouble with the police in China, but by-and-large they tend to be quite nice (assuming you're cooperating and plead idiocy).
Northern/Beijing police are also famous for their sense of humour.
Northern/Beijing police are also famous for their sense of humour.