A day after President Mahmoud Ahmadinejad warned that the country might withdraw from the Nuclear Nonproliferation Treaty if international pressure increased , the Foreign Ministry said Sunday that Iran was still committed to the treaty . ''