That is right. He is more or less a figure head and mouthpiece for the mullahs.
Apparently Ahmadinejad did not say Israel will be wiped off the map and Khrushchev did say "We will bury you . . ." Neither leader had enough internal support to do much damage. All part of the purpose of the U.N. so that countries could say what they want as long as they did not toss missiles.