The president's comments came after other top officials said replacing the leadership in Tehran was not the aim.