0426 GMT January 23, 2020
The official objection of the Islamic Republic was delivered to the envoy and the British government, mfa.ir reported, adding elsewhere on the website that he was released due to diplomatic immunity and identification.
The UK diplomat was reminded that presence of foreign ambassadors in street protests has nothing to do with their responsibilities as political representatives of their country and is against the 1961 Vienna Convention on Diplomatic Relations.
The UK government was also asked to elaborate in this regard.
Britain said earlier that its ambassador in Iran had been briefly detained on Saturday.
Earlier Tasnim News Agency reported that Macaire was held temporarily for organizing, provoking and directing suspicious acts during protests in Tehran on Saturday evening before being released.
According to IRNA, some parliamentarians urged the Ministry of Foreign Affairs to take necessary measures against the UK ambassador's move, which they said was "against all international norms".
Iranian Foreign Ministry said earlier on Sunday that it was awaiting a police report on detention of Ambassador Rob Macaire.
This came when a protest gathering was held after Iran’s public announcement that its military unintentionally shot down a Ukrainian passenger plane on January 8.
On Saturday evening, a group of students gathered at Amir Kabir University to voice their protest after the announcement.