Well, this isn’t hypothetical, because it’s an actual thing.
It depends on where that person is and with whom they are having sex. Laws regarding the age of consent are not the same from country to country or state to state.
Never doubt that a small group of thoughtful, committed citizens can change the world. Indeed, it is the only thing that ever has. - Margaret Mead