American officials readily acknowledge that the vote in favor of referral was in part the result of an unexpected , almost providential , act -- a bellicose speech by President Mahmoud Ahmadinejad of Iran before the United Nations General Assembly on Sept. 17 . ''