This is how statutory rape works. Consent is invalidated by a law!
If person are intoxicated, they are prevented from resisting. So even if they give a verbal consent, this consent is invalidated by section 261 (a)(3), because they were prevented from resisting.