The Deputy Prime Minister’s chief of staff has fought in court to uncover a conversation between her boss and the Prime Minister’s right-hand man.