Yes, but that statement can be taken to mean several different things.
I took it to mean that Foxx recusing herself (legal)but appointing her underling to prosecute the case was illegal under existing law thus making the entire prosecution under those circumstances “illegal”