Iranian officials , including President Mahmoud Ahmadinejad , have explained that Iran is obliged under a law passed last year to end voluntary monitoring activities if its case is reported to the Security Council .