Specially in a case where the legacy that is being put in question is exactly the culture of respect for human rights, civil liberties and democracy brought by an Western nation, that is now under threat by an autocratic power: The central Government of China.
There is a term coined specifically for that: Whataboutism