Julian Assange will appear in court on Friday to give evidence over allegations he was the target of an illegal surveillance campaign while living at the Ecuadorian Embassy in London.
Footage from embassy CCTV cameras and documents, including private legal papers and a medical record, were said to have been offered to Spanish police during an undercover operation.
A Spanish security firm has been accused over the hack and the case was launched in Madrid earlier this year.
Assange, 48, who is currently being held in HMP Belmarsh awaiting the outcome of an extradition request by the US, is due to appear at Westminster Magistrates Courts in person on Friday.
The hearing is unconnected to the US extradition case, where he faces 18 charges including conspiracy to commit computer intrusion.
Assange is accused of working with former US army intelligence analyst Chelsea Manning to leak hundreds of thousands of classified documents.
The hearing on Friday is due to be held in a closed court, but a small crowd of Assange’s supporters were gathered outside the court building in Central London with banners and signs demanding his release.
Journalists were also denied entry to the courtroom.
Assange will be giving evidence to the Spanish judge tasked with investigating the case – the equivalent of a police interview – via videolink from within the courtroom.