A Derbyshire estate agent is having to pay out £3,000 in fines and legal costs because he has painted his shop the wrong colour.
The council said the colour must comply with the law
Paul Rodgerson changed the colour of his premises on Wirksworth Marketplace two years ago to yellow.
But Derbyshire Dales District Council said the colour does not comply with conservation area rules and Mr Rodgerson should repaint it.
Mr Rodgerson said he has no option but to change the colour and pay the costs.
He added: "I think one's preference of colours is subjective and my wife and I liked the colour.
"But the law is the law, they've applied the law.
"I have been found guilty, as it were, of this heinous crime and now I'm obliged to repaint the building."
The listed building should be painted in a shade from an agreed "palette" of colours, the council said.
Councillor Irene Ratcliffe, from Derbyshire Dales District Council, said the issue was not really the colour.
"It isn't about the colour - it is about complying and I believe we have to enforce it as we have to live together as a community."