(Adds context, official quotes, detail)
By Parisa Hafezi and Tuqa Khalid
DUBAI, Sept 15 (Reuters) - Iran distanced itself on Sunday from attacks on Saudi oil facilities but hardliners in Tehran might chalk the assaults up as a win against Washington's tougher policy toward the Islamic Republic, officials and analysts said.
Iran has denied allegations made by U.S. Secretary of State Mike Pompeo that it was behind the attacks on Saturday, which were claimed by Yemen's Iran-aligned Houthi group. Sunni Saudi Arabia and Shi'ite-led Iran back opposing factions across the Middle East, from Yemen and Syria to Lebanon and Iraq. Saudi Arabia is leading a military coalition to back Yemen's internationally recognised government against the Houthis.
A senior Iranian official said the heightened tensions over the assaults could tip the balance of power in Iran in favour of hardliners looking to constrain pragmatist President Hassan Rouhani's ability to open up to the West.
Iran's top authority Supreme Leader Ayatollah Ali Khamenei's aversion to the United States remains a formidable barrier to any diplomatic solution, despite the likely benefits for Iran's sanction-hit economy.
"There are hawks in Iran and America and in the region who want military conflicts," said a senior Iranian government official, who asked not to be named because of the sensitivity of the matter.
"Such attacks will make a military confrontation inevitable and that is what hardliners in Iran and elsewhere want. Such confrontation will harm not only Iran but all the countries in the Persian Gulf."
Washington, a staunch ally of Riyadh, has adopted a tough anti-Iran "maximum pressure" policy to force Tehran to negotiate a broader deal that further curbs its nuclear programme, restricts Tehran's ballistic missile work and ends its support for regional proxy forces.
In reaction to tightened U.S. sanctions on its vital oil exports since exiting a 2015 nuclear deal last year, Iran has scaled back its commitments to the nuclear agreement and has threatened to block the Strait of Hormuz in the Gulf, through which an estimated fifth of the world’s oil passes.
Iran's Revolutionary Guards, an elite force which Tehran has charged with the Gulf's security and answers only to Khamenei, said on Sunday that Iran was prepared for a "full-scale war".
However, Khamenei has repeatedly said that Tehran will never initiate a war, but will make aggressors regret any attack. He has also banned talks with the United States, which the hardliners refer to as the Great Satan.