It is the first time MI5 has confirmed the BBC's revelation that it gave evidence based on lies in court while defending the violent informant.