Commander William Riker (played by Jonathan Frakes) falls in love with Soren, a member of an advanced, humanoid alien race called the J'naii. The J'naii are an androgynous species that view the expression of any sort of male or female gender, and especially sexual liaisons, as a sexual perversion. According to their official doctrine, the J'naii had evolved beyond gender and thus view the idea of male/female sexuality as primitive. Those among the J'naii who view themselves as possessing gender are ridiculed, outcast, and forced to undergo "psychotectic therapy" - a psychological treatment to remediate gender-specificity and allow acceptance back into J'naii society. When the affair between Riker and Soren is discovered, J'naii diplomats force Soren to undergo this therapy. When Riker beams down to the planet to rescue Soren, he realises that she had already undergone the therapy. Soren refuses to go with him, claiming that she/he is happy now, and was sick during her/his affair with Riker. Soren apologizes to him for her/his feelings of love toward him. Riker remains unconvinced of the righteousness of the procedure.