But Iranian officials have repeatedly warned that Saudi Arabia’s defence agreement will not guarantee the kingdom’s security.