Canadian billionaire Alex Shnaider can have a client file held by his former lawyers at Boies Schiller Flexner, but he’ll first have to pony up $860,000 and place it in escrow because of an ongoing unpaid legal fees dispute, a New York judge has ruled.

In a decision dated Tuesday, Manhattan-based state Supreme Court Judge Debra James ordered Boies Schiller to hand over a client file to Shnaider, who the firm previously represented in a federal court dispute with a former business partner in a venture to sell private jets. But she also said Shnaider must put $860,000 into an escrow account in light of Boies Schiller’s claim that it’s owed roughly that much in legal fees from its time representing the businessman.