President-elect Donald Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE has been ordered to give a deposition in his lawsuit against celebrity chef José Andrés, according to a new report.

District of Columbia Superior Court Judge Jennifer Di Toro ruled Wednesday that Trump musty testify in New York City during the first week of January, Reuters reported.

The deposition can last up to seven hours, Reuters said, and Trump’s lawyers have tried limiting the president-elect’s involvement due to his upcoming Jan. 20 inauguration.

Di Toro said in her order, however, that limits on the deposition could harm preparations for Andrés’s lawyers. The Washington, D.C., judge said Trump’s testimony is essential to the case.

ADVERTISEMENT

Trump sued Andrés for $10 million last year after the chef refused to open a flagship restaurant in his luxury D.C. hotel.

Andrés cited Trump’s harsh rhetoric regarding illegal immigrants for his decision.

"Donald Trump’s recent statements disparaging immigrants makes it impossible for my company to move forward with opening a successful Spanish restaurant in Trump International’s upcoming hotel in Washington, D.C.,” Andrés, who was born in Spain and is now a naturalized U.S. citizen, said in a July 2015 statement.

Andrés on Tuesday proposed to Trump that they end their battle and instead donate the legal costs to a military veterans group.

“Mr. @realDonaldTrump, can we end our lawsuits and we donate $ to a Veterans NGO to celebrate?” he tweeted. "Why keep litigating? Let’s both of us win.”

Geoffrey Zakarian, another celebrity chef, also pulled out of a restaurant deal with Trump’s hotel, prompting another lawsuit. Trump was deposed in that breach-of-contract case last June, according to the report.