Saying what you need to say to get bullies to back off

What do you when “not that kind of person” is the only way you can get someone to take your consent seriously? For example, I once resorted to telling a man I was “not the kind of girl” who had one-night stands because other ways of trying to get him to stop pestering me to sleep with him had failed but he seemed to accept that. I don’t want to perpetuate that there are “types of people” who do/don’t do X, but what if nothing else will make someone leave you alone?
realsocialskills answered:
I think in that situation, you do what you have to do.
That’s not about thinking there are kinds of people in that sense.
It’s about you telling the lies you need to tell in order to get an aggressive bully to leave you alone.
It’s ok to lie to bullies.