Any defense under either law, however, does not apply to the separate crime of "improper educator/student relationship" (sexual relations between a licensed teacher or school employee and a student of the same school), or for "aggravated sexual assault" (the forcible rape statute of Texas law).
Until the late 1970s, sex involving an adult female and an underage male was often ignored by the law, due to the belief that it is often sexual initiation for the younger male.
Thus, many jurisdictions prohibit allowing a juvenile to be tried as an adult under this law (most jurisdictions have separate provisions for child molestation or forcible rape which can be applied to juveniles and for which a minor can be tried as an adult).
Some jurisdictions also specify a minimum difference in age in order for the offense to be applicable.
Some jurisdictions have passed so-called "Romeo and Juliet laws", which serve to reduce or eliminate the penalty of the crime in cases where the couple's age difference is minor and the sexual contact would not have been rape if both partners were legally able to give consent.