IMPORTANT! Foreigners in China must abide by the following Chinese laws and regulations.
Reference: Website of the State Council of the People's Republic of China
Link:
Article 32 The People's Republic of China shall protect the lawful rights and interests of foreigners in the territory of China; foreigners in the territory of China must abide by the law of the People's Republic of China.