Say you have 100 rials or 1M. Converting it to BTC might be good for you individually if you believe the local currency is going to lose value, but it’s not good for the collective as there will now be less demand and more supply of it. So the individual benefits at the cost of the group. Stopping that is the gov’s job.
This is a general comment, I am not familiar with Iran as a country and might be missing context.
The US did something similar with gold - https://en.m.wikipedia.org/wiki/Gold_Reserve_Act#:~:text=The....
The main point is, the govt has a mandate to take actions that benefit the whole, even at the cost of individuals.
Yes it will make mistakes, and yes it sometimes will be corrupt and abuse that mandate, but in those cases the country can appoint a different group of people to try and fix things, that’s its only option that addresses the problem and is not “benefiting the individual and harming the whole”.
More to the point, it shouldn't be the or a country that appoints leaders. They should be appointed by the people, but for various reasons it has a rather poor success rate.