A federal judge launched a withering critique of the DOJ after finding a filing appeared to cite an AI-generated court case.