But the Pakistanis seem to be working the other side of the street as well by helping Iran conduct intelligence operations from which the Tehran regime of firebrand President Mahmoud Ahmadinejad draws great prestige in the mercurial region .