actually yes and no, they did nothing wrong to him, he left because of strong competition at home, back in 2015 Mehdi Khodabakhshi was dominating the world in this weight, Beigi once beat him in a league match and that drew attention of Azeri scouts ! but he lost the national trials to Khodabakhshi in a close match and missed his chance, Khodabakhshi went to win the world title dominating the competition. of course who can blame the federation for not picking Beigi over the world #1 ?!
he was considered a great talent, he could make the national team the next year but he didn't want to wait a year or something, I only blame our federation/coach for not trying him at 87kg, changing weight is not a big deal in this sport (unlike Judo and Wrestling for example)
I'm OK with someone like Asemani , she is living in Belgium, this is her right. (even though I was happy when our girl kicked her out of the competition here) but Beigi is still living in Iran, he is just competing for them , few more other Iranians joined him in Azerbaijan team, they won several medals for that country but I don't care about them , because nobody wanted them in Iran. but that's not the case for Beigi, he raised in Iran, in Iran taekwondo school, he still has Iranian coaches there, he was sponsored by the Iran TKD federation reaching this place and now he is winning those medals (he should win for Iran) for another country. and actually he beat our gold medal hope in Rio eliminating him, (the same guy Khodabakhshi) yeah Iran don't pay as much as Azerbaijan but there are other side benefits when you win medal for your own country.