Buckingham Palace barred ethnic minorities from office jobs during the 1960s, the Guardian newspaper reported, citing documents in the United Kingdom's National Archives.

The revelation, published on the newspaper's front page, was based on papers showing that Queen Elizabeth’s chief financial manager told civil servants in 1968 that it was not the palace’s practice to hire "coloured immigrants or foreigners" for clerical posts and other office jobs.

The palace replied forcefully to the historical allegations, stressing that the queen and her household comply "in principle and in practice" with anti-discrimination legislation.

"Claims based on a second-hand account of conversations from over 50 years ago should not be used to draw or infer conclusions about modern-day events or operations," a palace spokesman said, speaking on the customary condition of anonymity.

KATE MIDDLETON IS ‘TRYING TO MEDIATE’ PRINCE HARRY, PRINCE WILLIAM’S RECONCILIATION, UNCLE SAYS

Members of the royal family gather on the balcony of Buckingham Palace, with from left, Prince Charles, Camilla the Duchess of Cornwall, Prince Andrew, Queen Elizabeth II, Meghan the Duchess of Sussex, Prince Harry, Prince William and Kate the Duchess of Cambridge, as they watch a flypast of Royal Air Force aircraft pass over Buckingham Palace.

Members of the royal family gather on the balcony of Buckingham Palace, with from left, Prince Charles, Camilla the Duchess of Cornwall, Prince Andrew, Queen Elizabeth II, Meghan the Duchess of Sussex, Prince Harry, Prince William and Kate the Duchess of Cambridge, as they watch a flypast of Royal Air Force aircraft pass over Buckingham Palace. (AP)

The Guardian’s allegations stem from its investigation into the palace’s use of a mechanism known as "crown consent," under which the monarch grants permission for Parliament to debate laws affecting her.

Parliament approved laws barring discrimination based on race and sex in the 1970s. Documents in the National Archives show how the queen’s advisers influenced the wording of that legislation, the newspaper said.

Race has become a central issue for the monarchy following statements made by Prince Harry and Meghan Markle, the Duke and Duchess of Sussex, in their March interview with talk show host Oprah Winfrey. Meghan alleged that before their son, Archie, was born, a member of the royal family commented on how dark the baby's skin might be.

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

In the ensuing storm, Prince William, Harry’s older brother, defended the royal family, stating flatly that "we’re very much not a racist family."

Britain's Prince William leaves a Service of Thanksgiving for the life and work of Lord Snowdon at Westminster Abbey in London, Britain, April 7, 2017. REUTERS/Hannah McKay - RTX34JXQ

Prince William previously defended the royal family against claims of racism following his brother Prince Harry and Meghan Markle's interview with Oprah Winfrey. (REUTERS)

In their statement released after the interview aired, Buckingham Palace said the family was "saddened" to learn of the couple's struggles and noted that the allegations surrounding race were "concerning," but added that "some recollections may vary."

Elsewhere in his and Markle's interview, Harry said the royal family cut him off financially at the start of 2020 after announcing plans to step back from his roles. But he was able to afford security for his family because of the money his mother, Princess Diana, left behind.

CLICK HERE TO GET THE FOX NEWS APP

Subsequent interviews following the CBS special have shown Harry discuss tensions between him and his brother, Prince William, and his father, Prince Charles. 

In early 2020, the Sussexes announced their decision to step back as senior members of the royal family. They have since relocated to California with their two-year-old son. The are also expecting the arrival of their daughter sometime this summer.

The Associated Press contributed to this report.