In a plot twist that surprises absolutely no one with a functioning sense of irony, a federal judge has ruled that the US Department of Defense acted unlawfully when it slapped AI startup Anthropic with a 'supply chain risk' designation. The judge called the move, which came after Anthropic refused to let the military use its AI for surveillance and autonomous weapons, 'illegal and baseless.'

US District Judge Rita Lin, apparently not a fan of 'because national security' as a catch-all excuse, wrote that citing national security 'is not a blank check to punish and retaliate against government critics.' The ruling came in response to Anthropic's lawsuit arguing that Defense Secretary Pete Hegseth overstepped his authority - because apparently, even in the Pentagon, there are rules.

Anthropic, the maker of the Claude AI models, welcomed the ruling with the diplomatic grace of a company that just won a legal battle against the US government. A spokesperson told the BBC that the company is focused on 'working productively with the government to harness AI for our national security so all Americans benefit from this technology.' Because nothing says 'productive relationship' like a lawsuit.

The saga began in February, when the Pentagon designated Anthropic as a supply-chain risk - a label typically reserved for companies in countries that pose a threat to the US. This marked the first time an American company had been publicly slapped with such a designation, which is a bit like being the first kid in class to get a detention for something you didn't do.

Anthropic's lawsuit argued that the government's actions were both 'unprecedented and unlawful.' The company had previously stated that its AI models weren't reliable enough for use in weapons systems, and that using them for domestic surveillance would violate rights. The Pentagon, however, insisted that private companies shouldn't be able to constrain military action. The White House, never one to mince words, called Anthropic 'a radical left, woke company' attempting to control military activity, and argued that the military was beholden to the US Constitution, 'not any woke AI company's terms of service.'

Judge Lin, during an earlier round of the lawsuit, said the government was trying to 'cripple' the company and 'chill public debate' over military use of AI. She added, 'This appears to be classic First Amendment retaliation.' Because when you can't win an argument, you can always try to bankrupt your opponent - apparently, that's the American way.

The Pentagon also argued that Anthropic's refusal to accept new contract terms raised concerns about what the company could do with its technology. Meanwhile, Anthropic said its business had been impacted and its freedom of speech violated. The BBC has contacted the Pentagon and the White House for comment, but they're probably busy drafting their next move - or maybe just Googling 'First Amendment.'