China would say yes, and in such a case you should not ever be in a state that has and/or requires good diplomatic relationship with, or economic support from, China.
Law is, after all, what gets executed, and debating whether it's right or wrong is a luxury you don't have when it's executed on you.