Trump can (potentially) legally become president.