the important task in the four -country visit by the taiwan leader was to consolidate `` diplomatic relations '' with south africa through the swearing-in ceremonies for newly elected south african president mandela .