Despite the fact that king Charles XII himself had brought coffee to Sweden around 1715, coffee was regulated or totally banned to and fro until 1822. The penalty for coffee-drinking could be jail. The reason it was forbidden was that it was considered poisonous and unpatriotic and also that the government, of course, wanted to get taxes and fees from it.
To find out wether coffee really was so dangerous that it was supposed to be, the following experiment was performed: Two twin brothers sentenced to death for murder, got their penalty changed into life time in prison, if one of them drank one cup of coffee and the other one cup of tea every day. The coffee drinking twin outlived his tea drinking brother. After this, coffee was totally free and has been so except for during the WWs.
At the same time opium was totally free to buy in the pharmacies if one could afford it...
_________________
Let come what will, I'll try it on,
My condition can't be worse;
And if there's money in that box,
'Tis munny in my purse.