The invaded country has no obligation or reason to make any promises to its former colonial master.
And once one makes a promise, it is immaterial whether there was an "obligation or reason" to do so.
Really, all you are saying is China should be free to imprison, torture, and kill dissidents without any criticism, because another country was mean to them once upon a time.