The Court ruled, by 14 votes to two, that the retaliatory attacks by the U.S. Navy against certain Iranian oil platforms in the Persian Gulf in 1987 and 1988 constituted an unlawful use of force but did not violate 1955 Treaty of Amity.
Having been damaged by Iraq a year earlier, the platforms were not producing oil but had been used by the Iranian Revolutionary Guard Corps for military purposes.
[6] Twenty minutes before the surface action group opened fire, USS Thach radioed the platforms, telling the crews to abandon them.
U.S. Defense Secretary Caspar W. Weinberger said Iran used the facility to "launch small boat attacks against nonbelligerent shipping.
On 6 November 2003 the International Court of Justice ruled that the use of force against Iranian oil platforms was not justifiable as self-defense under international law: "the actions of the United States of America against Iranian oil platforms on 19 October 1987 (Operation Nimble Archer) and 18 April 1988 (Operation Praying Mantis) cannot be justified as measures necessary to protect the essential security interests of the United States of America.