Also, the boycotts of Danish products in the Middle East are to a large extent government-driven: the Saudi gov't has removed the wares from supermarkets and the Egyptian Parliament unilaterally voted to encourage the boycott, etc. In the latter case, the EU is threatening to bring the matter before the WTO.
However, consumer boycotts as such are of course legitimate. In my lingo above, they may or may not be commendable - cf. this debate - but they are permissible. The world's northernmost desert wind.