Sexual arousal

Sexual offending is not about sexual arousal, so why would upskirting prosecutions require proving a perpetrator's motive?