Iran’s unprecedented attack on Israel and the prospect of escalating hostilities has threatened to embroil Jordan, a key Western ally and a country regarded by Gulf states as pivotal to their own security.

When the Islamic Republic fired a barrage of missiles and drones at Israel on Saturday night, Jordan helped shoot down some that flew over its capital Amman, with Foreign Minister Ayman Safadi saying the kingdom saw the projectiles as posing "a real danger” to its territory.

While he was quick to say the country would do the same if Israel were to use Jordanian airspace to attack Iran, the move led to a torrent of online abuse in the Islamic Republic.