The ruling came in a lawsuit by Anthropic challenging its designation by the Pentagon as a national security supply chain risk.