Israel defended its offensive in Rafah at the World Court on Friday, saying it was acting in self-defense against Hamas fighters and asking judges to reject a request from South Africa to order its withdrawal from the Palestinian territory.