There is also an episode in the "Lotus Sutra" where the eight year old daughter of the dragon king transforms into a male bodhisattva and then becomes enlightened. This story may be a reference to the idea that a person must have a male body in order to become a Buddha.