(Bloomberg) -- A group of former employees at American International Group Inc. won a U.K. court ruling that may pave the way for them to be paid $100 million in bonuses dating back to the financial crisis.

The 23 former traders, analysts and managers at the London branch of AIG Management France SA and AIG Financial Products are demanding bonuses they say were promised even as the crisis unfurled. Judge Andrew Baker said in his ruling Friday that AIGFP broke its contracts with its staff and that a further trial would assess the size of damages.

The total payout could be greater than the $108 million at stake, the judge said, noting that that there were potentially almost 300 eligible staff.

In 2007 and 2008, AIGFP struggled with liquidity after the unit almost brought down the company with money-losing derivative bets backing subprime mortgages. The U.S. saved AIG in a rescue that then-Federal Reserve Chairman Ben Bernanke said made him “more angry” than any other measure the government took to counter the financial crisis.

In order to prevent staff from jumping ship, AIG implemented awards plans to “protect participants from the effect of potential losses on AIG’s multi-sector collateralized debt obligation portfolio, and at the same time to “lock them into” AIG by promising substantial payments,” lawyers for the claimants said in a court filing.

The plans provided for “a sharing of the risks and rewards," according to court filings. This meant that if AIGFP sustained a loss, compensation accounts would be hurt.

Still the contracts, which deferred the payouts, couldn’t have anticipated the crisis that befell AIG, the judge said. Even as AIGFP realized losses totaling $40 billion in late 2008, the judge said that "the language required for the restoration of payments."

The judge said the claims would be limited to AIGFP and couldn’t be brought against AIG Inc.

While the decisions as to what was going to be paid out were probably made by AIG’s Ed Liddy, acting as "CEO of everything," Baker said he didn’t believe that the parent company caused the AIGFP unit to break the contracts.

An AIG spokesman said the company plans to appeal the judge’s finding on the AIGFP contracts with staff, adding: "We look forward to presenting our case on why no damages are warranted given the massive losses suffered by AIGFP."

The second trial is slated to begin in October 2019.

The case is Tobias Gruber & Ors v. AIG Management France, SA & Anr, High Court of Justice, Queen’s Bench Division, case no. CL-2014-000921.

(Updates with AIG CEO’s involvement in tenth paragraph.)

To contact the reporter on this story: Jonathan Browning in London at jbrowning9@bloomberg.net

To contact the editors responsible for this story: Anthony Aarons at aaarons@bloomberg.net, Christopher Elser, Andrew Blackman

©2018 Bloomberg L.P.