The action came a day after President Mahmoud Ahmadinejad of Iran stood before the General Assembly , vowing to press ahead with a nuclear program and berating the United States and Europe for trying to interfere .