Meghan Markle instructed staff at Kensington Palace to protect her parents from press intrusion according to a legal letter released on Thursday.
Jason Knauf, who used to work for the Duke and Duchess of Cambridge and the Duke and Duchess of Sussex, appeared to refute Meghan's claim she wasn't protected while she was a senior royal.
The letter has been released as part of Meghan's ongoing case against Associated Newspapers Ltd (ANL), the publishers of the Mail On Sunday and the MailOnline, over its publication of a letter she wrote to her father, Thomas Markle Snr, in the summer of 2018.
Knauf was called upon by ANL to explain the extent to which he helped the duchess write the letter to ascertain whether he could be classed as a joint copyright holder.
Knauf, who now works for the Royal Foundation of the Duke and Duchess of Cambridge, said he did not want to claim any copyright and insisted he was neutral in the proceedings.
The letter explained: "From 2016 Mr Knauf led extensive efforts to protect the privacy and reputation of the Duchess and, as and when directed by her, the privacy of her parents. This included drafting a press statement in November 2016, issued in his own name, condemning racist and sexist coverage of Ms Markle (as she then was) and other regular interventions - directly to media and through the Independent Press Standards Organisation ("IPSO") - to request privacy both for her and for her parents.
"In the case of Thomas Markle, as referred to in the Response to the Defendant's Third Part 18 Request, Mr Knauf was, at the Duchess's request, involved in providing advice and offering support with a view to protecting her father from media intrusion. That included many conversations with Mr Markle and a number of interventions, through IPSO and directly with publications, to object to intrusions into Mr Markle's privacy."
Watch: Harry and Meghan to celebrate as son Archie turns two
It added: "It is a matter of record that this continued even after The Mail on Sunday reported that Mr Markle had allegedly been co-operating with press photographers. As the many media organisations which engaged with Kensington Palace at that time will be able to confirm, Mr Knauf and his colleagues made significant efforts over many months to protect Mr Markle and to object to intrusions into his privacy, in addition to the steps that were regularly taken to object to coverage of the Duchess herself, where this was perceived to be unfair or untrue."
Knauf's remarks about the protection and the instruction of Meghan appear to be at odds with her claim in the interview with Oprah Winfrey that she was not protected in the institution.
Meghan told Winfrey she felt the palace was willing to "lie to protect other members of the family, but they weren't willing to tell the truth to protect me and my husband".
The letter was released after being referenced in court on Wednesday as Meghan's case returned to determine who would own the copyright of the letter.
With both Knauf denying any claim, and the Queen's lawyers denying that if he was an indirect employee of the Crown it would claim any copyright, Meghan was awarded a summary judgment in the matter.
Meghan has successfully won most of her case against ANL in February when she was awarded a summary judgment on the matter of privacy, with the judge, Lord Justice Warby, deciding the printing of the letter was unlawful.
Lord Warby is set to release a ruling at a later date following Wednesday's hearing.
A front page notice on the Mail On Sunday about the privacy ruling is on hold while ANL appeals.
Watch: Meghan’s front-page statement in Mail On Sunday on hold pending possible appeal