Complex sentence: Gender-shifting may be merely used as means of disguise: appearing as a woman allows a man to enter situations from which men are forbidden, and vice versa.
Split into simpler sentences: Gender-shifting may be merely used as means of disguise. Appearing as a woman allows a man to enter situations, from which men are forbidden, and vice versa.