What would you advise if I was visiting your country?
That exchange rate is whatever the market will bear, it ain't any kinda law. When you've run up a tab of a few hundred bucks in a SC or with a SP they set the rate at whatever they feel justifies whatever annoyance they might have at dealing with foreign currency that you were too lazy to. If they only want to take it at a discount—even an outrageous one—that's their right. It is not legal tender anywhere but in the US, and if it's all you brought, you either take their rate or you will be treated as someone refusing to pay.
Not a nice situation and easily avoided; you already got the passport, now change your money like international travellers have always done. Helps you not get taken like a tourist too.
Oddly enough, only Americans ever ask this; even odder is how often they still do.