The Swedish government made owning coffee paraphernalia illegal in 1746, and that included mugs and dishes that could theoretically be used for other things.
Another attempt to ban coffee occurred in 1777, when Frederick the Great of Prussia banned coffee because he was worried about beer sales. But as we know, nothing could stop the runaway train that is coffee consumption. (And beer is doing just fine, too.)