Balance of payments argument for protection

A common reason for restricting imports, especially under fixed exchange rates, when a country is losing international reserves due to a trade deficit. It can be argued that this is a second best argument, since a devaluation could solve the problem without distorting the economy and therefore at smaller economic cost.