Israel supporters called Thursday “a dark day for justice in Germany” after Kuwait Airways won its discrimination case in a German court which challenged its ban of Israeli passengers.

The Frankfurt District Court ruled in favour of the state-backed airline in a case brought by Israeli passenger who was last year barred from flying from Frankfurt to Bangkok because of his nationality.

Kuwait bans all its citizens and companies from doing any business with Israel or Israelis and the airline enforces the policy strictly, banning Israelis from its flights. It appears to have won the court case in Germany because it offers to pay for Israelis to fly on another airline.

Frankfurt’s mayor Uwe Becker had earlier said any airline with discriminatory practices “should not be allowed to takeoff or land in Frankfurt, or at any other airport in Germany,” adding that this Kuwaiti law was “deeply anti-Semitic”.

The Gulf kingdom, which has no diplomatic relations with Israel, has long sought to defend its policies. In 2016, the airline ended flights between European cities following lawsuits filed against it in Switzerland on behalf of an Israeli who was denied a ticket, while in 2015 it dropped its route from New York to London after the U.S. Department of Transportation ordered it to stop discriminating against Israelis.

German Transport Minister Alexander Dobrindt called for a German investigation, asking whether the airline’s actions violated German air traffic laws. 

The airline went viral when Nas Daily, an Israeli-Arab social media star, posted a video on Facebook of him being banned from boarding the plane from New York to India. The video got 700,000 views, with German Green Party politician Volker Beck saying: “Stop the discrimination or stop doing business in Germany.”

A spokesman for the U.S-based Lawfare Project, which represented the Israeli passenger, said they were “deeply shocked” by the court’s decision, adding: “It allows a totalitarian regime’s discriminatory legislation to overrule both German law and Germany’s democratic values… This is a shameful verdict for democracy and for Germany in general. This verdict cannot stand. We will definitely be appealing.”