Trump’s legal status is one of the biggest wild cards heading into next year.