A sex offender is a person who has committed a sex crime. What constitutes a sex crime differs by culture and legal jurisdiction. From Wikipedia
The judge said only prison would protect the public given his refusal to cooperate with GPS monitoring.