A judge had valid reasons for sentencing a 5-foot-1 sex offender to probation, even though she cited the offender’s height as part of her rationale, the Nebraska Court of Appeals ruled Tuesday.

An examination by a clinical psychologist and the results of a test used to determine the risk that Richard W. Thompson would reoffend both indicated that Thompson, 52, is neither a pedophile nor a sexual predator, the court said.