Elon Musk is in tweeting purgatory again.

A federal appeals court ruled Friday that the billionaire must delete his 2018 Twitter post suggesting that Tesla Inc. workers could lose stock options if they formed a union and joined the UAW, as it violated labor law.

The decision is a victory for the National Labor Relations Board and a blow to Tesla, which has vehemently opposed the UAW’s years-long effort to unionize the EV maker’s workers.

It also puts Musk in the awkward spot of having to retract one of his many incendiary tweets after he’s become the owner of Twitter Inc.

The tweet said: “Nothing stopping Tesla team at our car plant from voting union. Could do so tmrw if they wanted. But why pay union dues and give up stock options for nothing?”

The labor board had ruled that Tesla repeatedly broke U.S. law, including by firing a union activist, and directed the company to ensure that its chief executive officer’s threatening tweet is erased from his feed. Tesla has argued that Musk’s tweet was protected by the First Amendment guarantee of free speech.

In Friday’s decision by the 5th US Circuit Court of Appeals in New Orleans, Tesla was ordered to reinstate union advocate Richard Ortiz with back pay. The company had argued that he was terminated for lying in an investigation about his misconduct.

“This is a happy day where my rights were finally vindicated. I look forward to returning to work at Tesla and working with my co-workers to finish the job of forming a Union,” Ortiz said in an emailed statement released by the UAW.

UAW President Shawn Fain said in the statement: “While we celebrate the justice in today’s ruling, it also highlights our broken U.S. labor law. Here is a company that clearly broke the law and yet it is several years down the road before these workers have achieved a modicum of justice.

“For the workers who make these companies run, it’s not about electric vehicles or internal combustion vehicles. It’s about justice on and off the job.”

Tesla’s opposition to unions has been a source of friction with the Biden administration. In 2021, Musk accused President Joe Biden, a Democrat, of being controlled by unions and has aligned himself with Republicans in a war over polarizing cultural issues.

Musk’s fights

Musk’s dispute with the labor board isn’t his first court fight over whether he crossed a line on social media.

A showdown with the U.S. Securities and Exchange Commission following his controversial 2018 tweets about taking Tesla private got him and the company socked with $40 million in fines and led to an agreement that Musk wouldn’t communicate about specific topics without advance approval from a Tesla lawyer.

A judge in April 2022 rejected Musk’s request to be freed from that oversight, which has become known as his “Twitter Sitter.” He has asked a federal appeals court to throw out the deal he made with the SEC.

In a separate case over the August 2018 tweets, Musk prevailed this year at a jury trial over claims by Tesla shareholders that he misled and defrauded them.

Musk also won a 2019 jury trial over defamation claims by a British cave diver whom the billionaire called “pedo guy” when the two traded insults on Twitter.

U.S. labor law lets companies express negative predictions on the consequences of unionizing, but bars them from threatening to punish employees for doing so.

The Labor Board case began with allegations filed in 2017 by the UAW. Tesla argued in court that “reasonable” workers wouldn’t read Musk’s tweet as a retaliatory threat.

The NLRB lacks the authority to make companies pay punitive damages for violations, or to hold executives personally liable.