The judge declined to impose any punishment, but the hearing assured that Trump will become the first US president to be convicted of a felony.