The judge said that going forward, the former president could risk jail time.