A company led by Elon Musk has filed a federal court challenge against a new Minnesota law designed to block manipulated images that create fake nudity. The legal action comes just before the measure is scheduled to take effect on Saturday.

Minnesota’s anti-nudification law targets altered or generated images used to depict nudity that is not real. The lawsuit sets up a direct clash between a state effort to regulate harmful digital content and a company arguing against the new rule in court.

The case puts fresh attention on how governments are responding to rapidly changing image tools that can be used to produce misleading or explicit fake content. Minnesota’s law is part of that broader push, but the federal lawsuit could determine whether the measure moves forward as planned.

With the law’s start date approaching, the court challenge adds uncertainty around enforcement and the future of Minnesota’s attempt to restrict manipulated fake-nudity images. The dispute is now likely to turn on how the federal court views the state’s new restrictions.