South Yorkshire Police has settled its own case with Sir Cliff by paying him £400,000 and argues that the BBC should pay a share of this because its actions were "far more causative of the damage suffered".

'A concession'

The court has heard BBC reporter Dan Johnson received a tip-off that police were looking into a claim Sir Cliff sexually assaulted a boy under the age of 16 in Sheffield in 1985.

Giving evidence on the third day of the case, Mr Fenwick talked about a meeting he had with the journalist in July 2014.

Mr Fenwick said he did not want a story about Sir Cliff to be run at that stage of the investigation because it could compromise their ongoing inquiry.

He added: "In particular publishing a story could cause problems with a search warrant which we were not ready to do yet."

Mr Fenwick recalled that the BBC journalist referred to Sir Cliff as a "celebrity paedo". Mr Fenwick said that, from those words, it was clear Mr Johnson "clearly knew" the nature of the allegation being investigated.

"He explained to us that he was ready to publish an exclusive story about the investigation and wanted a comment from us," Mr Fenwick told the court.

He said: "At the back of my mind I was thinking that it would not only compromise the investigation but could also compromise Sir Cliff Richard by exposing him to allegations, potentially giving him the opportunity to dispose of evidence."

He told the court Mr Johnson "said he could and he would [run the story] and we came to an arrangement that he wouldn't publish it then but that we would notify him when we were ready to take further action".

The officer said the BBC was subsequently given information about the search the following month as a "concession".

Asked by the BBC's barrister, Gavin Millar, whether his case was that Mr Johnson forced police to do a deal, Mr Fenwick said it was, adding: "I felt that we didn't have many options - there was no option, other than to co-operate with him."

'Rights respected'

Mr Fenwick also said he had been "angry" at a BBC News website story containing an "untrue" suggestion that the broadcaster's presence at the raid was a deliberate attempt by the force to "maximise publicity for the investigation".

He said: "I made a number of telephone calls to Dan Johnson because I wanted him to ensure that it would be removed".

The BBC television report of the raid featured shots taken from a helicopter showing officers inside Sir Cliff's home in Sunningdale.

Describing seeing the coverage, Sir Cliff broke down in the witness box on Friday, saying he felt "smeared" by the BBC.