Man told to attend court for sentencing after pleading to a