"California changed its law to make unlawful sexual intercourse a gender-neutral crime, in that all forms of sexual conduct with a person under 18 are illegal.This means that if a 16-year-old boy and a 17-year-old girl have consensual sex, "both" can be charged with a crime.