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.