MIAMI (CBSMiami/AP) – United States District Judge Michael Moore has permanently struck down a Florida law that banned companies from bidding on government contracts if they also do business with Cuba or Syria.

The ruling was a formality as state officials had previously said they would not be enforcing the law.

READ MORE: South Florida Caravan Heads To DC To Ask US Government To End Cuba’s Communist Regime

Judge Moore had previously ruled against the state saying the law impinges on the federal government’s supremacy in setting foreign policy. The ruling was later upheld by a federal appeals court.

READ MORE: Historic Little Havana House Goes Up In Flames

The law was successfully challenged by Coral Gables-based Odebrecht USA, part of a Brazilian construction conglomerate that also has a unit doing work at the Cuban port of Mariel

Odebrecht said the law could have cost it billions of dollars in potential contracts in Florida.

MORE NEWS: Miami PD Finds Burnt Body After Responding To Fire On Railroad Tracks

(TM and © Copyright 2013 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2013 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)