A Security Council referral came into play only because of Iran 's recent behavior : the inflammatory anti-Israel statements of its president , Mahmoud Ahmadinejad , and its ill-timed decision to resume nuclear work .