A registered sex offender breached a strict court order by deleting “embarrassing” messages from his phone.