Some gods and their followers has more firm ideas about what is proper than others. When Jehanne stole from one of the major temples in town, one of the things that upset its head priest the most was that she had disguised herself as a man to do it.
Since he did not catch her with the stolen goods, he could not punish her for that, but he could be inventive when it came to punishing her for entering the temple in improper clothes. So, he had a cunning dwarf artificer make a set of magic rings that would enforce some very specific rules, and used his divine powers to force her to wear them.
The rings made sure that she would have to reveal enough of her body to show everybody that she was female; she would never be able to masquerade as a man again. If she tried to hide her anatomy in covering clothes, or sneak around unseen, the rings would pull her limbs into positions that would counter this, and freeze in place, magically immobilizing her for a sufficiently long time to serve as punishment.