A pair of medical malpractice plaintiffs who lost their case received a fair trial despite the judge admonishing and holding in contempt their trial lawyer for “boorish and, at times, contemptuous” behavior, a state appeals court ruled Wednesday.

A unanimous Appellate Division, Second Department, panel upheld the dismissal of plaintiffs Xiao Yan Chen’s and Tian Zeng Li’s medical malpractice suit. The panel said Kings County Supreme Court Justice Michelle Weston’s actions taken against their lawyer did not prejudice the trial’s outcome, in which a jury ruled in favor of the defendant hospital and physician.