The ruling means the case can move forward, possibly with reduced charges in a new trial.