There are other hidden benefits as well. Tax evasion and money laundering become a lot harder in a system that tracks transactions. That can be massive benefit or a dystopian nightmare depending on the people in charge, but for many governments that's something worth throwing money at.
At no point in human history did the government not try to control currencies.