South Africa 's first black chief justice took office at a special session of Parliament in Cape Town , an event seen by many as an important turn in a court system that has been accused of racism a decade after the end of apartheid .