Judge Rita F. Lin of the U.S. District Court for the Northern District of California found the Pentagon’s designation was “unlawful retaliation against Anthropic for its criticism of the department’s plans for use of artificial intelligence technology.