The UN nuclear watchdog conducts regular inspections of Iran's nuclear facilities and these will be increased if world powers and Iran can finalise their outline agreement by a June 30 deadline.
Such a deal will see Iran dramatically scale down its atomic activities. Combined with tighter UN inspections, this will make any dash to make nuclear weapons extremely difficult and easily detectable.
Talks on this could resume as early as next week.
However, the International Atomic Energy Agency also wants Iran to answer allegations that prior to 2003, and possibly since, Iran's nuclear programme had "possible military dimensions" -- "PMD" for short.
This means alleged research by Iran into how to make a nuclear bomb such as high-explosives tests and looking into how to explode fissile material in a missile's warhead.
An IAEA probe into this has been stalled since August. On Wednesday though, the IAEA's chief inspector Tero Varjoranta was due to hold a new round of talks in Tehran.
- Having a laugh? -
The allegations are based largely on information passed to the IAEA by unnamed other countries -- experts say Israel and the US are the likely sources -- and deemed by the watchdog to be "overall, credible" in a major 2011 report.
Some of the accusations could well be bogus, experts say.
Robert Kelley, a former US nuclear weapons scientist who later worked in atomic intelligence analysis for the US government and for the IAEA in Iraq, says some are "laughable".
Claims of explosives testing and a subsequent "sanitisation" at the Parchin military base, as well as over Iran's use of certain detonators and activities in the Marivan region, make little sense, said Kelley, who is now at the SIPRI peace research institute.
It is also unclear how much comes from a controversial trove of more than a thousand pages of documents known as the "alleged studies" that reportedly come from a laptop acquired by US intelligence in 2004.
Yousaf Butt, a nuclear physicist at the British-American Security Information Council, said that the West should not be "obsessing" over the past, particularly since some of the evidence seems "shoddy".
Signup to our newsletter and follow us on Facebook and Twitter!
But analysts, including Kelley, say that Iran still has a case to answer.
"Although some of the individual evidence is questionable, there is no doubt in my mind that Iran pursued nuclear weaponisation work," Mark Fitzpatrick, a former US State Department official now at the International Institute for Strategic Studies in London, told AFP.
- Off the hook? -
The six world powers agree that Iran cannot continue stonewalling, not least because clearing up what happened in the past is vital for having confidence that Iran will stick to its commitments in the future.
"In a final deal Iran will not be let off the hook for its past work," Kelsey Davenport at the Arms Control Association told AFP. "It is vital for the IAEA's credibility."
Western officials have made clear that Iran's main aim in the hoped-for deal with major powers -- getting painful sanctions lifted -- will not happen until the IAEA's questions are addressed.
"PMD (possible military dimensions)... is part of the package. It is necessary to get sanctions relief," a European official involved in talks said.
All UN Security Council nuclear-related resolutions will be lifted "simultaneous" with the completion of "actions addressing all key issues" -- including PMD, according to a US State Department fact sheet.
The same document -- disputed by Iran as a mixture of "truth and lies" -- says that Iran will be "required to grant access to... suspicious sites".
State Department spokeswoman Marie Harf said Friday that it would be "very difficult to imagine that did not require... access at Parchin."
- Fessing up -
Iran though rejects the IAEA's claims, saying they are based on forgeries supplied to a gullible and partial watchdog by its enemies. Parchin, it says, is not a nuclear site so the IAEA has no right to go there.
Even if some of the claims are true, it would be very difficult for Iran to make any kind of confession, not least because this would mean the country had violated the supreme leader's "fatwa" forbidding nuclear weapons.
A possible solution, therefore, might be to have a "fudged" admission, Fitzpatrick said, with Tehran saying the dirty work happened before the fatwa and putting the blame on "rogue" scientists.
Without this, or if Western nations make "politically impossible demands for acknowledging culpability", PMD is "one of the ways" the whole deal could yet fall apart, he said.