The federal judge who has come under fire from Republican presidential candidate Donald Trump on Tuesday refused to throw out a civil case alleging fraud at Trump University. But he also sided with Trump on one issue, by barring the public release of videotaped testimony given by Trump in the case.

The rulings represented a mixed bag for Trump, who created a firestorm in June when he said U.S. District Judge Gonzalo Curiel had “an absolute conflict” in presiding over the litigation given that he was “of Mexican heritage” and the Republican nominee had made a strong pledge to seal the southern U.S. border.