It was actually possible, as you can see, to petition the government for your racial category to be changed. Various black people successfully gained the preferential category of "coloured" and some coloureds even managed to be categorized as white. However nobody who started as black was able to achieve the prestigious "white" label.