This isn’t accurate as there is no such thing as a federal work or state work nor is there any actual court case. The law covers the whole country and it’s explained in the first sentence of the article:
Donald Trump’s campaign may have violated United States copyright law by selling merchandise featuring the former president’s mugshot, legal experts have warned.