Former Olympic cyclist Rohan Dennis has faced court after pleading guilty to driving while suspended, appearing before the same judge who warned him he would be jailed if he breached the ban.