The decision to have an acting ambassador attend the Group of 20 in South Africa came after the president said the United States would boycott.