BRUSSELS -- European Union leaders were urged Thursday to show the same respect for international law in Gaza as they aim to uphold in Ukraine, as hundreds of thousands of Palestinians face dire food shortages and possible famine.

At an EU summit in Brussels, UN Secretary-General Antonio Guterres appealed to the leaders to remain strong and united in their respect of standards enshrined in the United Nations Charter and international law.

鈥淭he basic principle of international humanitarian law is the protection of civilians. We must stick to principles in Ukraine as in Gaza without double standards,鈥 Guterres told reporters, standing alongside EU Council President Charles Michel, who chaired the summit.

A UN food agency has warned that 鈥渇amine is imminent鈥 in northern Gaza. Israel, meanwhile, appears determined to launch a ground offensive in the southern city of Rafah, where many people have sought refuge from the fighting.

The 27-nation EU has long been deeply divided in its approach to Israel and the Palestinians, and the devastating Hamas attack on southern Israel on Oct. 7 laid bare those differences. But as the death toll in Gaza mounts to nearly 32,000 people, more countries are supporting calls for a cease-fire.

In contrast, almost the entire bloc sees Russia鈥檚 two-year long war on Ukraine as an existential threat. They鈥檝e poured billions of euros into supporting the country, by providing it with arms and ammunition and helping to prop up its war-ravaged economy.

鈥淭he response to the appalling crisis in Palestine has not been Europe鈥檚 finest hour, quite frankly,鈥 said Irish Prime Minister Leo Varadkar, whose country is among the strongest backers of the Palestinians.

鈥淚 think it has been undermining particularly of our efforts to defend Ukraine because so many countries in the global south 鈥 also known as most of the world 鈥 interpret Europe鈥檚 actions in relation to Ukraine versus Palestine as double standards. I think they have a point,鈥 he said.

Belgian Prime Minister Alexander De Croo described the events unfolding in Gaza as 鈥渄ramatic.鈥

鈥淲e see today people who are trying to feed themselves by eating grass. People who are on the verge of being in a famine. Europe needs to lead, and not to follow, and it is time for us to be clear: to demand an immediate ceasefire, to demand the liberation of the hostages,鈥 he told reporters.

In a draft statement prepared for the summit, seen by The Associated Press, the leaders are due to lament 鈥渢he unprecedented loss of civilian lives and the critical humanitarian situation. The European Council calls for an immediate humanitarian pause leading to a sustainable ceasefire.鈥

The Israel-Hamas war has driven 80 per cent of Gaza鈥檚 population of 2.3 million Palestinians from their homes, and UN officials say a quarter of the population is starving.

Palestinian militants killed some 1,200 people in the surprise Oct. 7 attack out of Gaza that triggered the war, and abducted another 250 people. Hamas is still believed to be holding some 100 people hostage, as well as the remains of 30 others.

Concern is mounting about an imminent Israeli ground offensive against Hamas in Rafah, Gaza鈥檚 southernmost city near the border with Egypt. It鈥檚 a plan that has raised global alarm because of the potential for harm to the hundreds of thousands of civilians sheltering there.

Prime Minister Benjamin Netanyahu has said that Israel can鈥檛 achieve its goal of 鈥渢otal victory鈥 against Hamas without going into Rafah.

The EU leaders would also urge 鈥渢he Israeli government to refrain from a ground operation in Rafah,鈥 saying that 鈥渟uch an operation would have devastating humanitarian consequences and must be avoided.鈥 The statement was a draft that could change by the time the summit ends.

German Chancellor Olaf Scholz, a staunch ally of Israel who visited the country on Sunday, said that 鈥渨e are not for a big offensive in Rafah. I stressed that in Israel myself, and we hope that a longer-lasting cease-fire will now be possible that is also linked to the release of all hostages 鈥 and the handover of the dead.鈥

EU foreign policy chief Josep Borrell said that 鈥渨hat鈥檚 happening today in Gaza is the failure of humanity. It is not a humanitarian crisis. It is the failure of humanity.鈥 The cause, he told reporters, 鈥渋s not an earthquake, is not a flood. It鈥檚 bombing.鈥

Geir Moulson in Berlin contributed to this report.