ISRAEL will defend itself before the United Nation’s top court against charges that it has engaged in genocide of Palestinians in Gaza, officials said.

The announcement marks a rare engagement with the world body, which Israel often denounces as biased against it.

South Africa launched the case on Friday at the International Court of Justice at The Hague, Netherlands, saying the magnitude of death, destruction and humanitarian crisis in Gaza from the Israeli military campaign against Hamas meets the threshold of genocide under international law.

READ MORE: Israel pulls thousands of troops from Gaza strip amid United States pressure

South Africa asked the court to order Israel to halt its attacks in Gaza.

Israel dismisses international cases against it as unfair and biased and rarely cooperates.

Its decision to respond to the charge signals that the government is concerned about the potential damage to its reputation.

Eylon Levy, an official in the Israeli prime minister’s office, on Tuesday accused South Africa of “giving political and legal cover” to the October 7 attack by Hamas that triggered Israel’s campaign.

“The state of Israel will appear before the International Court of Justice at the Hague to dispel South Africa’s absurd blood libel,” he said.

Israeli prime minister Benjamin Netanyahu (below) vowed to press ahead with the war until Hamas is crushed and the more than 100 hostages still held by the militant group in Gaza are freed, which he has said could take several more months.

The National: Israeli Prime Minister Benjamin Netanyahu (Ohad Zwigenberg/AP)

But Israel is under growing international pressure to scale back the offensive ahead of a visit to the region by US secretary of state Antony Blinken, who urged Israel to do more to protect Palestinian civilians.

On Monday, Israel said it was withdrawing thousands of troops from other areas in a potential shift away from the massive air and ground operations that have devastated the Hamas-ruled enclave.

Still, heavy fighting continued Tuesday in the southern Gaza city of Khan Younis.

READ MORE: Palestinian-Scottish woman tells of family's life or death plight in Gaza

Israel’s onslaught in Gaza has been unprecedented in the century-old conflict, killing nearly 22,000 Palestinians and levelling large swathes of the tiny Mediterranean territory.

Since the war began, Israel has banned entry of food, water, medicine and other supplies to its population of 2.3 million people, except for a trickle of aid that the UN says falls far below its needs.

Israel’s war cabinet was to meet later Tuesday, Netanyahu’s office said.

The agenda reportedly includes a discussion on post-war arrangements for Gaza, a highly polarising issue in Israel.

Until now, Netanyahu has not presented any plan despite repeated US requests.

He rejected proposals that the Palestinian Authority, which currently administers pockets of self-rule in the Israeli-occupied West Bank, undergo reforms and then take over administration of Gaza as a precursor to Palestinian statehood.