Prince Harry has lost a High Court challenge against the government on Wednesday (Feb. 28) over the level of his security protection every time he visits the UK.

The BBC reported that the Duke of Sussex made the appeal to attempt to overturn a ruling that saw his security status downgraded after he stopped becoming a "working royal," with his lawyers arguing that there was unfairness in how the decision was made.

The Home Office previously said that the prince's security protocol was decided on a case-by-case basis.

(Photo: Andrew Chin/Getty Images)

Back in December, when the challenge was made, Home Office lawyers told the High Court Harry would still have publicly-funded police security, but these would be "bespoke arrangements, specifically tailored to him," rather than the automatic security provided for full-time working royals.

Much of the legal proceedings - which centered on security arrangements for senior figures - were held in private in December, with the ruling issued by retired High Court judge Sir Peter Lane on Wednesday morning.

Such a ruling could have implications for Harry's future visits to the UK, as he previously agreed that the lower level of security has made it difficult to bring his wife, Meghan, and their family to the country from the US.

Read Also: Neo-Nazi Podcasters Who Targeted Prince Harry, Son, Arrested for Terror Offenses

In the High Court ruling, Lane said that the prince's lawyers had taken an "inappropriate, formalist interpretation of the RAVEC process," referring to the Royal and VIP Executive Committee, which arranges security for members of the British royal family and other VIPs.

RAVEC has delegated responsibility from the Home Office and has involvement from the Metropolitan Police, the Cabinet Office, and the royal household.

The ruling also found that the "'bespoke' process devised" for Prince Harry by RAVEC "was, and is, legally sound."

Related Article: Sussexes Send King Charles, Princess Kate 'Get Well Messages' After News of Hospitalization