The decision by a state-owned Chinese maritime group to spend nearly $1bn buying a slice of Brazil’s dock infrastructure is another important foreign investment.

It comes as the city of Xiamen this week was hosting the leaders of Brazil, Russia, India and South Africa, where China was able to raise the free trade and globalisation banner at a time of “America First” protectionism of Donald Trump, its superpower rival.