Israel has insisted before its United Nations’ highest court that its conflict in Gaza was legitimately defending the rights of its citizens and that the war was carried out by Hamas terrorists who committed genocide.