There is a case of a young female person who presented as male (but wasn't trans, I'm not sure of all the details) who was convicted of sex by deception after using adult toys on their young, female partner who believed she was in a heterosexual relationship. It was all very odd, and murky.
I believe there were several such cases. Here is a (slightly fawning) review of a book by Alex Sharpe, a TRA law professor, about this subject. I've bolded the bit which explains Sharpe's view in simple terms.
Against this background Sharpe’s analysis, in which queer and gender non-conforming identities are acknowledged and centered, provides a much-needed counterpoint. By examining McNally through the lens of queer theory, Sharpe is able to shift the perspective on this and other such cases, making explicit the cultural and ideological assumptions underwriting the decisions reached. Her position is that the conceptual coherence of gender identity fraud relies on the foundational premise that the categories of sex and gender are ontological truths which may be uncovered and compared to a defendant’s self-representation; if Justine McNally’s gender presentation is conceived not as pretense but as a genuine expression of male identity,then there is no deception for which to answer. In framing McNally’s self-representation as a deception, therefore, the court both assumes and reinforces “the naturalness and stability of the categories of sex, gender and heterosexuality” (7). To exist outside of such categorisation becomes an inherently deceptive act, creating a situation in which “fixed identities are legally required”:
https://link.springer.com/article/10.1007/s11572-020-09540-x