An Italy court on Monday tossed out a nearly $200 million fine the country's antitrust regulators imposed on tech giants Apple and Amazon.

Last year, the Italian Competition Authority, or AGCM, slapped the tech companies with a €200 million fine, roughly $195 million, alleging unfair cooperation selling Beats and other Apple products. The AGCM said the two companies blocked sales of the products to resellers to keep prices high.

Earlier this year, the regulators reduced the fine to $170 million after saying it made a calculating error.

A regional court in Rome said in a statement Monday that the antitrust officials exercised "excessive brevity" and did not give the firms the opportunity to defend themselves.