The court has said the bar would apply even if the trial was still on