You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
George_VI

Context:
In 1947, the King and his family toured Southern Africa. The Prime Minister of the Union of South Africa, Jan Smuts, was facing an election and hoped to make political capital out of the visit. George was appalled, however, when instructed by the South African government to shake hands only with whites, and referred to his South African bodyguards as "the Gestapo". Despite the tour, Smuts lost the election the following year, and the new government instituted a strict policy of racial segregation.

Question:
Who instructed the King to only shake hands with whites in South Africa?

South African government