'A huge outcome' for the woman at the centre of this case, her lawyer sayspublished at 18:49 British Summer Time 3 June
Daniel De Simone
Investigations correspondent
This case, which began with violence inflicted by an MI5 agent on his girlfriend, has now become a test of whether courts and the public can believe MI5.
The man, known only as agent X, used his MI5 role to coerce his girlfriend, known by the alias "Beth".
When the BBC sought to name him, the government took it to court and gained him legal anonymity. But MI5 gave false evidence, by saying it hadn't told me he was an agent.
This year the BBC proved the evidence was false, with a recording of an MI5 officer telling me the man was an agent in an attempt to stop me investigating him.
Today, a panel of senior judges heard submissions on the false evidence from the government and the BBC. They were told MI5 now accepts it can no longer maintain its "neither confirm nor deny" secrecy policy on the man's agent status.
By applying their secrecy policy, MI5 had been able to keep much of their evidence secret, including from agent X's former girlfriend.
Speaking after today’s hearing, Beth’s lawyer Kate Ellis says she'll now get a fair trial of her own legal claim against MI5.
"It's a huge outcome for Beth - it's huge - she's had to fight this all the way to the High Court," Ellis says, adding: "I think this case has really undermined MI5's credibility in the courts.”
The court must now decide what to do about the false evidence from MI5. We'll learn their judgement at a later date.