FORT WORTH, Texas (AP) — Relatives of some of the 346 people who died in two crashes involving Boeing 737 Max planes are in court Friday, where their lawyers are asking a federal judge to throw out a plea agreement that the aircraft manufacturer struck with federal prosecutors.

The family members want the government to put Boeing on trial, where the company could face tougher punishment.

In July, Boeing agreed to plead guilty to a single felony count of conspiracy to commit fraud in connection with winning regulatory approval of the Max. The settlement between Boeing and the Justice Department calls for Boeing — a big government contractor — to pay a fine and be placed on probation.

Passengers’ relatives call it a sweetheart deal that fails to consider the lives lost.

“The families who lost loved ones in the 737 Max crashes deserve far more than the inadequate, superficial deal struck between Boeing and the Department of Justice,” said Erin Applebaum, a lawyer whose firm represents some of the families. “They deserve a transparent legal process that truly holds Boeing accountable for its actions.”

Lawyers for the government and the company filed court briefs defending the settlement, and lawyers for the passengers’ families explained their opposition to the deal. U.S. District Judge Reed O’Connor will get to question both sides during Friday’s hearing in Fort Worth, Texas.

If the judge accepts the guilty plea, he must also approve the sentence that Boeing and prosecutors agreed upon — he can’t impose different terms. It is unclear when O’Connor will decide the matter.

Boeing is accused of misleading regulators who approved minimal, computer-based training for Boeing 737 pilots before they could fly the Max. Boeing wanted to prevent regulators from requiring training in flight simulators, which would have raised the cost for airlines to operate the plane.

The Justice Department argues that conspiracy to defraud the government is the most serious charge it can prove. Prosecutors say they can’t prove that Boeing’s actions caused the crashes in 2018 in Indonesia and 2019 in Ethiopia.

The agreement calls for Boeing, which is based in Arlington, Virginia, to pay a fine of at least $243.6 million, invest $455 million in compliance and safety programs, and be placed on probation for three years.

The case is among a host of issues with which the manufacturer most contend.

Talks broke down this week with striking factory workers who assemble some of the company’s best-selling planes. The company withdrew its offer and S&P Global Ratings put it on its credit watch list, citing increased financial risk because of the labor unrest.

On Thursday, the company filed a complaint over what it calls unfair labor practices against the International Association of Machinists and Aerospace Workers. Boeing in its complaint with the National Labor Relations Board said that the union’s public narrative is misleading and has made it difficult to reach a resolution.