Another aspect of it could be that this retards foreigners' capacity to sneak into shops they're not supposed to be in and buy things they're not supposed to buy. Not sure though, as apparently many shops are run pseudo-privately and I imagine any shopkeeper would be happy to accept some foreign currency.