Are Embargoes Ethical?

As a foreign policy tool, trade embargoes are meant to discourage foreign governments. Examples include US embargoes against Cuba, Iraq (until 2003), and North Korea. But embargoes also cause a great deal of misery among the population of the affected countries ( such as shortages of medicine and food). Are embargoes ethical?