The US imposed a 30% tariff on South Africa, but on Friday a US high court ruled the law Trump used does not give him authority to impose tariffs.