Speaking to reporters on Air Force One after talks in Beijing with Chinese President Xi Jinping, Trump said the two sides had agreed Tehran could not be allowed to have a nuclear weapon and must reopen the Strait of Hormuz, which it is currently blocking, prompting a rise in world oil prices.