The top UN court has rejected a South African request to impose urgent measures to safeguard Rafah in the Gaza Strip but also stressed that Israel must respect earlier measures imposed late last month at a preliminary stage in a landmark genocide case.