A woman made a joke about wanting lesbian sex minutes before she was left alone with a man she says raped her, a Swansea Crown Court trial has heard.
Mr Jones says the woman consented to "vigorous sex"
The woman claims Gregory Jones, 39, the head of human resources for South Wales Police, attacked her after a night out.
A friend of Mr Jones told the court the woman knew he, the witness, had bought condoms before she made her quip.
Mr Jones, of Sketty, Swansea, denies three charges of rape and one of assault causing actual bodily harm.
The rape trial has heard Mr Jones met the woman for the first time on a night out in Swansea on 2 September last year.
The witness, who cannot be named, told the court that on the evening in question he had planned to return to his girlfriend's house.
Mr Jones and the complainant were also invited and all four headed off in a taxi.
The witness said the two women knew he intended to buy condoms on the way and even suggested the shop he could buy them from.
Mr Jones met the woman in a pub late one evening last September
He told the court that at the house, he and his girlfriend were about to go upstairs for sex, leaving Mr Jones and the woman downstairs.
Before they left, he said, the complainant said something about her wanting lesbian sex with his girlfriend.
His girlfriend joined in by suggesting a threesome and he added to the conversation by suggesting a foursome, he said.
The woman alleges that Mr Jones went on to rape her three times and caused injuries to her body. Mr Jones has told police that the woman had consented to "vigorous sex".
Giving her evidence on Tuesday, the woman dismissed suggestions that she knew from the outset that she and Mr Jones were going to the address to have sex.
She also denied she made up the rape allegations to hide the truth from her boyfriend.
The jury heard that she thought the four were going to house for a "party" but she felt "too stupid" to ask about the party when she realised it was just the four of them.
She said she planned to leave after coffee but the court was told Mr Jones attacked her before she could leave.
The trial continues.