The social media company argues that a district judge ran afoul of the First Amendment when she ordered the company to turn over Trump’s data.

Last year, federal courts in Washington, D.C. forced Elon Musk’s X Corp. to fork over reams of data from Donald Trump’s account to special counsel Jack Smith without telling Trump and giving him a chance to intervene.

Now the company is urging the Supreme Court to prevent such a scenario from unfolding again, a demand that could radically alter the way criminal investigators deploy secret search warrants and subpoenas for sensitive information.