The line of thinking is that if Israel is subject to international courts/laws regarding genocide for its action, then China will be too. China's participation in judging Israel opens itself to the same judgement.
1. https://en.wikipedia.org/wiki/Uyghur_genocide
2. https://en.wikipedia.org/wiki/Territorial_disputes_in_the_So...
I don't see folks buying that, sorry. In international realpolitik you play the cards you have and if your rival opens themselves up for criticism you play it.
Rhetoric trumps logic in this one.
It's flawed thinking because PRC can't be legally attacked the same way.
Plurality of UN sentiments has already, repeatedly sided with PRC on Uyghur/XJ as internal counter terrorism measure, and not genocide. Crimes against humanity maybe, but all the US/west driven efforts to get it recognized as genocide has failed.
Same PRC actions in SCS. PRC not party to the optional arbituation system in UNCLOS. And there's no legal mechanism under UNCLOS to determine sovereignty. The PCA ruling is not actually international law, recognized by UNCLOS or UN. PRC doesn't have to worry about UNCLOS/ITLOS ruling against it in SCS because they legally can't.
Sure there might be rhetorical damage, but not potential legal damage under UN the same way Israel, party to genocide convention, would legally be, if ICJ decides they are doing/did a genocide. Legal damage in this case, being actual diplomatic damage, i.e. mandetory sanctions against countries who are genociding, which pro-Israel countries will of course ignore, suffering reputational damage in turn, or domestic damage if it's within their domestic laws to obey ICJ ruling on genocide and they choose to ignore.
However, situations like this, in which rhetoric and de jure policy conflict with de facto reality, open one up to others taking the fiction at face value. And what do you do then? Can't deny it without causing other problems. So now this may be regarded as an international matter because Gaza "isn't part of Israel".
China officially recognizes the state of Palestine.
The Isreali supreme court itself has determined that Gaza is not Isreali territory.
An Israeli court can say what it wants, but can't have it both ways.
The supreme court has jurisdiction over actions taken by the Isreali government, regardless of where those actions take place.