Any sentence to imprisonment shall be pronounced by the judge in the presence and hearing of the convicted person.