Iran says any action against its nuclear program by the United Nations would be illegal and would lead to confrontation with the West.
Iran's Foreign Ministry issued the warning on Sunday.
Iranian lawmakers also said that because of the crisis they will demand a review of the part of the Nuclear Non-Proliferation Treaty that allows members to quit.
The lawmakers said they will be forced to consider quitting the treaty, if the U.N. Security Council invokes a section of its charter that would allow military action against Iran for continuing to enrich uranium
The non-prolifieration treaty allows a nation to pull out if it decides that "extraordinary events" have jeopardized its "supreme interests." North Korea withdrew from the N.P.T. in 2003 on the same basis.
Meanwhile, President Bush has again said all options, including military action, should be considered to compel Iran to halt its nuclear program.
Mr. Bush's comments were published on Sunday in the German weekly "Bild Am Sonntag." He also said that Iran's suspect nuclear program and its calls for the destruction of Israel are threats to other nations.
Western countries allege Iran is trying to acquire a nuclear bomb. Tehran says its nuclear program is only for peaceful purposes.