A senior council manager invented claims of workplace sex to cover up his own regime of sexual harassment and drinking, a tribunal has heard.
Tom McNeil was accused of being a bully himself
Tom McNeil, 52, claims he was forced to leave his Aberdeen City Council job after reporting two colleagues for engaging in sex acts.
Mary Kearns, representing Aberdeen City Council, said Mr McNeil was a story teller.
The tribunal has now drawn to a close and a ruling will follow later.
Mr McNeil claimed he saw a woman, who cannot be named for legal reasons, performing a sex act on then director of sport and leisure Brian Woodcock.
However, the tribunal was told Mr McNeil had concocted the stories to divert attention from his own behaviour.
Mrs Kearns said Mr McNeil was a sexual harasser who addressed female employees in a flippant manner and often used sexual innuendo.
She said: "He referred to them as 'two or three pinters' - referring to how many pints one would need to sleep with them."
Mrs Kearns said he referred to one staff member as "big boobs".
He allegedly said another female employee had great breasts but it was a "shame about the thighs".
Mrs Kearns said Mr McNeil's allegations about the sex acts in council offices were made out of malice to divert attention from his own acts of gross misconduct.
She said the comments were defamatory, untrue and had not been corroborated.
She said the woman had once been a favourite of Mr McNeil's but she had fallen out with him.
Mrs Kearns said: "He attempted to undermine the position of the female colleague by making allegations about her conduct and bullying her.
"His general management style was one of deliberate bullying, harassment, including sexual harassment."
The tribunal, which began last July, had previously heard that Mr McNeil was the subject of a "witch hunt" instigated by the woman at the centre of a sex scandal.