‘South Africa can lead in removing its major weakness, an article that grants immunity from prosecution to sitting heads of state and other senior officials,’ says the writer