Israel insists it adheres to international law even as it faces scrutiny in the world’s top courts.