This is better:
“The ICJ, the U.N.’s world court, ruled that the U.N. and other international organizations were under an “obligation not to recognize as legal the situation arising from the unlawful presence” of Israel in the West Bank. The court called on the U.N. to “consider the precise modalities and further action required to bring to an end as rapidly as possible the unlawful presence of the State of Israel in the Occupied Palestinian Territory.”
https://jewishinsider.com/2024/10/united-nations-general-assembly-palestinian-authority-israel