A U.S. judge said on Friday that Elon Musk must face a defamation lawsuit by a British diver who said he was falsely branded a pedophile and child rapist by the chief executive of electric car company Tesla.

U.S. District Judge Stephen Wilson said a reasonable jury could conclude that Musk’s comments were more than merely opinions, and scheduled a trial for Oct. 22.

On April 26, the same judge denied Musk’s bid to dismiss the lawsuit brought by diver Vernon Unsworth, without explaining his reasoning.

Musk’s lawyers did not immediately respond on Friday to requests for comment.

Unsworth, who said in his lawsuit that he shared a house in the Thai countryside with a 40-year-old woman who owned a nail salon, was part of a team that helped rescue 12 boys and their soccer coach from a cave in Thailand last July 10.

He said he became a target for Musk after saying on CNN that a mini-submarine offered for the rescue by Musk from his company SpaceX, where he is also chief executive, was a “PR stunt” and that Musk could “stick his submarine where it hurts.”

British cave diver Vernon Unsworth is suing Elon Musk, alleging that the Tesla CEO falsely accused him of being a pedophile. (Sakchai Lalit/The Associated Press)

Musk later called Unsworth “pedo guy” on Twitter, a comment for which he later apologized. He also urged a BuzzFeed News reporter by email to investigate Unsworth and “stop defending child rapists.”

In seeking a dismissal, Musk’s lawyers said such comments were “imaginative” or “over-the-top” insults that constituted protected opinion under the U.S. First Amendment.

But the judge said Musk was not communicating in “heated and volatile” settings that might explain any excesses.

“Considering the totality of the circumstances — including the general context of defendant’s statements, the specific context of the statements, and the statements’ susceptibility of being proved true or false — a reasonable fact-finder could easily conclude that defendant’s statements, as pleaded in the complaint, implied assertions of objective fact,” Wilson wrote.

Wilson said in a footnote he has not found that reasonable jurors would “necessarily” view Musk’s comments as factual.

“The significance of the ruling is clear: publication of accusations on Twitter does not provide a safe harbour for defamatory statements that are false and convey that they are factual,” Unsworth’s lawyer, L. Lin Wood, said in an email.

In his September 2018 lawsuit, Unsworth is seeking at least $75,000 US in compensatory damages plus punitive damages.

On April 30, a Manhattan federal judge approved Musk’s revised settlement with the U.S. Securities and Exchange Commission setting out when Musk must obtain advance approval from a Tesla securities lawyer before posting on Twitter or other social media.