The U.S. Court of Appeals for the D.C. Circuit has rejected a lawsuit from a restaurant challenging President Donald Trump’s ownership of his Washington, D.C., hotel under a local competition rule.

Cork Wine Bar initially sued Trump in D.C. Superior Court, arguing the president’s ownership of his hotel while he was in office violated the city’s fair competition rule because consumers may go to the property to try and curry favor with the Trump administration.