Azarpira won't be at the Takhti. Whoever wins the Takhti at 97 will go to some tournaments (without Azarpira) and if they are "successful" in those tournaments they can go to a foreign tournament with Azarpira or directly wrestle him for a spot on the team based off what the coaches decide. In the wrestle off they would need to beat him twice but he would only need to beat them once.
And yes, I think it is unfair to Masoumi. They should let him go to worlds if he wins Takhti, especially since Zare will be at the Takhti anyway, but that is not the path they want to go. Zare seems to choke/lose every other year and Masoumi seems about as good against foreign competition but as is always the case in Iran world medalists are protected until the bitter end. They are even protecting Younes Emami of all people.