State justices tear apart far-right legal theory argued in major US Supreme Court case