The ruling clears the way for the president-elect's sentencing hearing for Friday to go ahead as planned