Mr. Ahmadinejad was speaking during a visit to the central Iranian city of Shahr-e-Kord .