Not many people set out to create a criminal record for themselves.