The panel overruled the trial judge, who had allowed Fani T. Willis to keep the case despite revelations of a romantic relationship that defendants said created a conflict of interest.