A man tried to stop a judge from banning him from wearing hoodies so he could keep his head dry from Manchester's rain.
Jason Corkovic's lawyer told Manchester Crown Court the ruling was against his 'human rights', despite having been caught with a machete and sledgehammers during a robbery plot.
Earlier this year, Corkovic, 41, was jailed with his uncle, Paul Corkovic, 48, after they were caught planning to rob cash vans.
Their partner-in-crime, Jason McFeely, 39, was jailed alongside the pair.
The Salford men were caught by a police surveillance operation as they prepared to rob a £90,000 cash delivery from a Stockport supermarket on April 19.
They had their faces concealed with 'snoods' and were carrying a bag with a machete and sledgehammers in it.
Following the sentence, Greater Manchester Police applied for a Serious Crime Prevention Order aimed at stopping the men from plotting other heists on release.
The restrictions include a ban on wearing hoods within 50 metres of shops, banks and cash vans. They are even barred from wearing false moustaches and beards or possessing any face coverings in public.
But Jane Miller, defending Jason Corkovic, argued against the hoodie ban in a Manchester Crown Court hearing, saying he hoped to work in the building trade and might need one.
She said: "There are factors such as rain to contend with. When one walks down the street one likes to keep one's head dry.
"I wonder whether to prevent a person from wearing a top with a hood, being a gentleman in Manchester, which has a propensity to endure rain, might be to have his human rights interfered with."
Judge Roger Thomas QC, making a Serious Crime Prevention Order, pressed ahead with the hoodie ban.
Rejecting the plea, Judge Thomas said: "Let's not be silly about this. You say Mr Corkovic is a gentleman, well then he can use a furled umbrella. Or what about a flat cap? There was a time 50 years ago when every man was walking around Manchester with a flat cap."
The trio of armed robbers, who watched the hearing via videolink at prison, laughed and said 'keep your flat cap' in reply.
In 1996, Paul Corkovic became the region's longest-serving armed robber when he was jailed for 23 years following a violent £275,000 spree.
Within months of his early release he went back to crime. In April, he led the foiled plot to rob cash from Asda at Reddish Lane, Gorton.
In March, Paul Corkovic and McFeely robbed £50,000 in daylight raids at Natwest, Reddish, Stockport, and Sainsbury's, Heaton Park, with cash delivery men threatened with axes.
Jason Corkovic was behind a November 2010 attempted robbery at a post office on Plodder Lane, Bolton. This month, Paul Corkovic, of Sevenoaks Drive, Swinton, was jailed for 18 years after admitting conspiracy to rob.
McFeely, of Lawnswood Drive, Swinton, admitted the same charge and has been jailed for 13 years.
Jason Corkovic, of Murray Street, Higher Broughton, admitted conspiracy to rob and attempted robbery and was jailed for nine years.
The order also bars the gang from having multiple bank accounts and phones, and from travelling in the same vehicle.