The IAEA will decide whether Iran should be referred to the UN Security Council for possible sanctions if it was covertly trying to produce nuclear weapons .