A Brooklyn federal judge Thursday tossed the $50 million lawsuit filed against the city and NYPD by the distraught daughters of the late maraschino “Cherry King” Arthur Mondella.

In a blistering order, Judge Leo Glasser called the complaint — which alleged Mondella should have been frisked before he fatally shot himself during a 2015 raid of his Dell Maraschino Cherry factory and secret marijuana grow operation — a “preposterous” lawsuit without “even a suggestion of merit.”

“There is no allegation that the defendants know that Mr. Mondella was licensed to carry guns or was carrying a gun at the time, and even if they did, that they were or should have been clairvoyant enough to foresee that their lawful business would cause a risk of his suicide,” Glasser wrote.

Mondella’s daughters Dana Bentz and Dominique Mondella had argued that the warrant allowing agents with the Brooklyn DA’s office and the state Department of Environmental Conservation to search the factory had been a “ruse” to look for drugs that they had no proof existed.

Mondella, 57, fatally shot himself in a private bathroom at the Red Hook facility as authorities found the hidden door that led to his massive grow house.

Glasser added that “if for some reason lurking in the ether” a risk of Mondella carrying a gun had been perceived, they had no recourse to search him, given the parameters of the search warrant.

“If, indeed, the path of the law has not been logic, but experience, what syllogism or life experience would warrant the conclusion that Mr. Mondella’s suicide was attributable to his violation of the New York State Environmental Conservation Law,” the order continues, given that Mondella “was in the business of dealing marijuana, as well as in maraschino cherries.”

“Obviously we believe we have a meritorious claim, and we will be appealing,” attorney Richard Luthmann said following the decision. “Sometimes District Court judges get it wrong, and while we think Judge Glasser is a fantastic judge, we believe that happened in this instant.”

“We agree with the Court’s decision,” said a spokesman with the Brooklyn District Attorney’s Office.

“The Judge agreed that the legal claims against these officers had no merit,” a Law Department spokesman said. “No evidence was presented that these officers exceeded their authority or that they could have foreseen that their lawful presence at Mr. Mondella’s place of business would have resulted in his suicide.”