I guess the same way a woman can sexually assault a young man? I dunno, that has always puzzled me as well. A boner is not consent. It is a physical reaction. That would be same as saying that it's not rape if the rapist can get her off.