This directly involves Chinese citizens and the Chinese consulate, and diplomatic immunity exists everywhere.
The US is sanctioning a foreign court over actions that do not even involve the US itself. There is no comparison here.
The PRC is strongarming educational institutions. Look up the Drew Pavlou case at Queensland University. There are similar reports from New Zealand, Canada and the UK.