The German government has rejected a call by US President Donald Trump for NATO allies to help protect commercial shipping in the Strait of Hormuz from Iranian attacks which have sent oil prices soaring.

“This war has nothing to do with NATO. It is not NATO’s war,” government spokesman Stefan Kornelius said in Berlin on Monday, as many of Washington’s Western allies suggest that the US and Israel have no one but themselves to blame for the turmoil on global oil markets triggered by their war on Iran.

While many in the 32-member defence alliance, including Germany, have agreed that the leadership in Tehran poses a threat, allies are increasingly criticizing Trump over what they see as a lack of strategy to bring the war to an end.

Trump, who has repeatedly asked allied nations to support a military mission in the Strait of Hormuz, on Sunday ramped up his rhetoric towards NATO, suggesting that the alliance might face a “very bad future” if allies don’t help ensure safe passage for commercial shipping.

“It’s only appropriate that people who are the beneficiaries of the Strait will help to make sure that nothing bad happens there,” he told the Financial Times in a eight-minute phone conversation.

When asked about Trump’s threats, the spokesman merely said the German government had taken note of them.

Kornelius stressed that the purpose of NATO is the defence of its territory and there was currently no mandate to deploy NATO forces to the Middle East.