The accused pleaded guilty to two counts of theft of children's clothing taken from unlocked lockers at a recreational centre in March and April 2015.
The Crown and defence jointly submitted for an 18-month conditional sentence followed by three years of probation.
The court accepted the joint submission, noting that while the offences appeared to be simple theft, the circumstances revealed concerning underlying issues.
The accused has a documented history of pedophilia, paraphilias, and sexual interest in young girls' underwear.
A psychiatric assessment recommended anti-libidinal medication, sexual offender treatment programming, and strict conditions regarding contact with minors.
The conditional sentence includes house arrest with limited exceptions, prohibition on contact with children under 12, and mandatory medical treatment for libido reduction.