ISTANBUL (Reuters) - Tayyip Erdogan denounced U.S. justice on Friday and suggested Turkey could rethink some bilateral agreements with Washington, after a U.S. court convicted a Turkish banker in a trial that included testimony of corruption by top Turkish officials.

In his first public comments on Wednesday’s verdict, the Turkish president cast the case as American plot to undermine Turkey’s government and economy - an argument likely to resonate with nationalist supporters.

“If this is the U.S. understanding of justice, then the world is doomed,” Erdogan told a news conference before his departure to France for an official visit.

A U.S. jury convicted an executive of Turkey's majority state-owned Halkbank HALKB.IS of evading Iran sanctions, at the close of the trial which has strained relations between the NATO allies. Some of the court testimony implicated senior Turkish officials, including Erdogan. Ankara has said the case was based on fabricated evidence.

Without being specific, Erdogan said the case put agreements between the two countries into jeopardy: “....The bilateral accords between us are losing their validity. I am saddened to say this, but this is how it will be from now on.”

Turkey’s foreign ministry on Thursday condemned the conviction as unprecedented meddling in its internal affairs. The row has unnerved investors and weighed on the lira currency, which hit a series of record lows last year.

The court case has put pressure on relations between Washington and the biggest Muslim country in NATO, already strained since a 2016 failed coup in Turkey which Erdogan blames on followers of a cleric who lives in the United States.

Slideshow ( 2 images )

Only last week the United States and Turkey lifted all visa restrictions against each other, ending a months-long visa dispute that began when Washington suspended visa services at its Turkish missions after two local employees of the U.S. consulate were detained on suspicion of links to the coup.

The Halkbank executive, Mehmet Hakan Atilla, was convicted on five of six counts, including bank fraud and conspiracy to violate U.S. sanctions law. The case was based on the testimony of a wealthy Turkish-Iranian gold trader, Reza Zarrab, who cooperated with prosecutors and pleaded guilty to charges of leading a scheme to evade U.S. sanctions against Iran.

In his testimony Zarrab implicated top Turkish politicians, including Erdogan. Zarrab said Erdogan, then prime minister, had personally authorised two Turkish banks to join the scheme.

Turkey says the case was based on fabricated evidence and has accused U.S. court officials of ties to the cleric Turkey blames for the coup attempt. The bank has denied any wrongdoing and said its transactions were in line with local and international regulations.

“The United States is carrying out ... a chain of plots, and these are not just legal but also economic plots,” Erdogan said.