Mark Cranfield broke down in the dock after being warned that he is likely to be jailed when he returns to court in February.