A Victoria Police commander is fighting allegations he leaked confidential information about a secretive anti-corruption investigation to a junior officer.
Commander Stuart Bateson, 52, faces three charges after allegedly telling the woman what he'd been questioned about during a confidential August 2018 Independent Broad-based Anti-corruption Commission hearing.
The probe was looking at allegations of improper influence into an investigation by task force Salus, which examines harassment and predatory behaviour in the force.
The junior officer detailed to Melbourne Magistrates Court on Monday her meetings, messages and calls with Bateson since 2014.
She said Bateson in 2018 told her "we need to talk" and "that he had been called in and asked questions".
"He (Bateson) said if he spoke about the investigation he would go to jail," the woman told magistrate Simon Zebrowski.
"I asked if it was PSC (Professional Standards Command) and he said 'no'.
"I asked if it was IBAC and he said he wasn't allowed to talk about it."
The woman also said Bateson was "fidgety and nervous" and went on to tell her "I haven't spoken about this, have I".
Bateson had twice been served a confidentiality notice by IBAC relating to its investigation, prosecutor Sarah Thomas said.
Defence barrister Marcus Dempsey said Bateson conceded he met with the woman but denied disclosing anything unlawful.
"There will be a concession that there were meetings and discussions on these days but not that they were accompanied by any criminality," Mr Dempsey said.
Two charges against Bateson relate to allegations he told the woman in September and October that year about IBAC's investigation into other police members.
The court was told Bateson pulled out an iPad showing a news article about an investigation into inappropriate relationships between senior Victoria Police officers and their subordinates.
Bateson allegedly disclosed the names of the police officers referred to in the article.
He also allegedly asked the junior officer if she had been "called in and spoken to" yet.
"You're putting me in a s*** position and if I had, you know I can't tell you," the woman said she responded.
She also said Bateson later recalled being asked by investigators to name the people he'd slept with in the past five years.
He again asked if she had been spoken to and "laughed and made a joke and said maybe they're just s*** investigators", the woman told the court.
She said she'd "felt intimidated and pressured" by Bateson and "coached" about what to say if questioned.
The woman also referred to other comments she said Bateson made, including that her "ass looked good in those pants" at a police station in 2017.
She is expected to continue giving evidence on Tuesday.