South Africa is correct and courageous to oppose the West at the International Court of Justice but is not a consistently principled actor