South Africa found itself on the right side of history