People argue that smuggling of harmless or beneficial goods is permissible because Islam does not recognize trade restrictions. Please comment.

While Islam is not in favor of trade restricting trade, it also allows the Muslim ruler to enact laws and regulations imposing any restrictions, which are calculated to benefit the community. When such restrictions are introduced, they should be obeyed. Islam makes it clear that a ruler should be obeyed unless he orders the committing of something that represents disobedience to God.

What this means is that it is permissible for a ruler to impose certain restrictions on trade, or to levy some fees [duties] or charges on certain commodities, provided that these restrictions are not themselves forbidden, and the aim of these restrictions is to benefit the community. Hence, flouting these restrictions become forbidden. This is the case of smuggling, which normally aims at the avoidance of payment of certain taxes.