South Africa’s decision to take Israel, the West’s darling, to the International Court of Justice for genocidal intent was brave politics