A male union boss was wearing French knickers when he performed a sex act in front of a shocked woman, a court heard.
Unison regional organiser Gerry Crawley allegedly pulled down his trousers and asked the female to touch his pants.
Hamilton Sheriff Court heard that he also squeezed the same woman's bottom as they chatted with football fans in a packed bar ahead of the Scottish Cup final.
The 59-year-old, whose union duties involve representing police and fire service workers, is accused of sexually assaulting the woman on various occasions between January 2016 and July 2018.
It's also alleged that he masturbated in front of her at her home in 2018.
Crawley, a former Labour councillor, of Stobo, East Kilbride, has lodged not guilty pleas to the charges.
Describing the incident at her home, the woman, now aged 37, said Crawley visited when she was alone.
She told the court: "He asked to see my pants. I was wearing leggings and he said he would show me his pants instead.
"He pulled his trousers down to his knees. He had white French knickers on. They were laced and partially see through.
"He asked if I would touch them and I said no. He asked again and I touched the side of them, hoping he would then go."
But, the woman, said Crawley didn't leave and instead masturbated, leaving her "shocked, frightened and panicked".
She told prosecutor John Coogan: "I was standing against the banister in the hall. I couldn't go anywhere.
"Then he went to the toilet before leaving the house quite quickly."
Asked if she reported the incident at the time, the woman replied: "No. I thought it was something I could compartmentalise, put in a box and not think about."
The woman also told of an incident in a bar in Battlefield, Glasgow, on the day of the Celtic vs. Aberdeen Scottish Cup final in 2017.
She said: "Gerry had tickets and we went for a drink before walking to Hampden.
"The bar was very busy with Aberdeen fans. Gerry put his hand down the back of my pants.
"I was talking to an Aberdeen fan. I think I asked Gerry to stop but it must have gone on for five minutes or so.
"He was touching and squeezing my bottom. I was shocked because it was a public place."
The woman also alleged during her evidence that Crawley acted inappropriately towards her on two other occasions, once in a house and once in a taxi.
The woman claimed Crawley touched her private parts while in a taxi with other passengers including her husband, and later texted her to ask if she had liked it.
She told the court the incident had left her feeling “dirty and embarrassed”.
Questioned by defence advocate Patricia Bailey, the witness denied having a romantic relationship with Crawley in which she was the “dominant” partner.
She rejected a defence suggestion that they had an arrangement where Crawley would visit her home regularly to clean while wearing women’s clothing.
The woman said: “It happened once. I thought it would be a useful outlet for him. Mostly he just wanted to talk about pants.”
Ms Bailey also put it to the witness that she and Crawley would touch each other’s pants and private parts, and this was consensual behaviour.
She replied: “No. That’s absolutely wrong.”
The trial was adjourned until next month.
Don't miss the latest headlines from around Lanarkshire. Sign up to our newsletters here.
And did you know Lanarkshire Live is on Facebook? Head on over and give us a like and share!