Based on Israel's history, I expect that Israeli officials will claim that the International Court of Justice is biased, illogical, has a one-sided view, and is antisemitic (it should be extremely worrisome to people truly interested in human rights for all, how Israel is diluting the term and making a mockery of the it).
In any case, the ICJ can rule whatever it wants, but Israel will not comply, thanks to US protection. What if israel does not comply? It will be in breach of its obligations as a state party to the Genocide Convention. OK, so what? South Africa can go to the Security Council to ask for enforcement of compliance, and there, you have the US veto.
ICJ ruling is important, but Palestinians who are experiencing a genocidal attack cannot wait, and given the US protection, what remains for them to do is to resist occupation. The world as it is run by the empire (the US) disregards people's rights unless it is beneficial for the empire's ruling class (not its people), or unless it is pressured to respect such rights.
Thanks to the US, Israel continues to occupy Palestinian land despite existing UN Security Council resolutions; please remind me again: what exactly is the two-state solution when 700,000 Israeli settlers grabbed land in the West Bank and are being protected by an army?
There is a simple solution that preserves everyone's right to freedom and safety: END THE OCCUPATION.
People can always imagine permanent solutions to live together in JUSTICE so that PEACE can be. South Africa did it. If one cannot imagine it being possible, it does not mean it cannot be done.