Iranian President Mahmoud Ahmadinejad has again defended his country 's right to develop nuclear energy .