"The leaders of these countries made a historic mistake with their comments about the new plant.
After this they also said Iran must give access to the facility as quickly as possible," state television quoted him as saying. "Who are you to tell the (International Atomic Energy Agency) and Iran what to do?"
Mr Ahmadinejad said Iran would not be "harmed", whatever happened at today's talks with the major powers in Geneva aimed at resolving the crisis over its atomic program.
"The negotiators can definitely adopt any policy that they want, but we will not be harmed," he said. "Iran has prepared itself for any condition and our nation has learnt over the past 30 years to stand on its feet and change any circumstance to its benefit."
Mr Ahmadinejad said the talks were an "exceptional opportunity for US and a few European countries to correct the way they interact with other world nations".
IAEA chief Mohamed ElBaradei said Iran had flouted the law by concealing the plant.
"Iran has been on the wrong side of the law in so far as the IAEA regulation to inform the agency at an earlier date," he told India's CNN-IBN last night.
"Iran was supposed to inform us on the day it was decided to construct the facility. They have not done that."
Iran's atomic energy chief Ali Akbar Salehi had said he was ready to discuss world concerns about the plant, but ruled out bargaining about Iran's right to master the nuclear fuel cycle.
Foreign Minister Manouchehr Mottaki has told UN Secretary General Ban Ki-moon Tehran would not give up its "right" to nuclear technology.
The UN Security Council has imposed three sets of sanctions against Iran over its failure to heed repeated ultimatums to suspend enrichment.
Source: The Australian