The decision to refuse compensation was "defective and contrary to natural justice", according to Ian Glen QC, who was representing Barry George.
Despite Mr George's unanimous acquittal by a jury at his retrial, a Ministry of Justice "functionary" had unfairly and unlawfully decided he was "not innocent enough to be compensated".
Mr Glen said that for more than 30 years those acquitted on retrials in similar circumstances had been compensated.
He said: "We are not sure when the policy was changed or whether it was affected by the Barry George case."
The position seemed to have changed in 2008, the year Mr George was acquitted, Mr Glen added.
More top news
Mild evening rounds off October ahead of cooler temperatures over the weekend.
Two families who lost men in military campaigns almost a century apart have made an emotional visit to the Tower of London's sea of poppies.
A British jihadi who has lost two of his brothers in Syria has told ITV News that he intends to stay and fight until he is also killed.