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
If you have been affected by an issue in our Changing Minds series, are in distress or need some support, help is available 24 hours a day.
The former Deputy Speaker of the House of Lords has resigned following allegations he took drugs with prostitutes. But who is he?
A murder investigation has been launched after a man was fatally stabbed and another injured in an apparent attack at a house in York.