Disgraced ex-Prince Andrew has secured a surprising legal win and now believes he’s on his way to regaining his royal titles.

On Thursday, October 8, a judge ruled that the search warrants the Thames Valley Police used to raid Andrew’s homes were unlawful. Authorities acknowledged that the warrants should never have been granted because the court’s initial decision to approve them was improper.

”Legal proceedings are currently ongoing to decide how material seized during the searches will be managed and whether we can lawfully retain it in support of our ongoing investigation,” the police department said in a statement, per the Chicago Tribune.

Prince Andrew, King Charles Prince Andrew, King Charles

Although this is just the beginning of a much more complex legal dispute, royal insider Rob Shuter claimed Andrew’s already plotting his comeback.

“Andrew thinks he’s been vindicated,” one insider told Naughty But Nice. “He believes the authorities got it wrong, and now he wants everyone who turned their backs on him to admit they were wrong, too.”

Related: Charles Reportedly Refusing to ‘Protect’ Andrew Amid Report the Ex-Prince Is ‘Gleeful’ Over His Brother’s ‘Suffering’—He’s ‘Very Bitter’ the King ‘Treats Him Like Scum’

The source added that Andrew “wants his prince title back. He wants his royal status restored. He wants his old life back. In Andrew’s mind, this ruling changes everything. … Andrew thinks winning this battle in court means he can win back the Palace.”

However, the odds of Andrew being welcomed back into the fold with open arms are pretty slim. Shuter reported that there’s “no indication” that King Charles plans to restore his younger brother’s titles. Other sources agreed, telling RadarOnline that the king is “refusing to lift a finger to help his hapless brother.”

“There is so much happening right now, Andrew is definitely causing him a lot of stress,” a source stated. “If Andrew were to get charged in the U.S. and were extradited from the U.K., the king would probably be very pleased and help facilitate his departure. He’s not going to help protect his brother, since he wants to preserve the reputation of the monarchy.”

Plus, this ruling doesn’t clear Andrew’s name. The investigation is ongoing, and there is still a lot to discuss before it concludes.