Some had borrowed from girlfriends, others from sisters. A few had gone the extra mile and shaved their legs. When the Isca academy in Devon opened on Thursday morning, an estimated 30 boys arrived for lessons, heads held high, in fetching tartan-patterned skirts. The hottest June days since 1976 had led to a bare-legged revolution at the secondary school in Exeter.

As the temperature soared past 30C earlier this week, the teenage boys had asked their teachers if they could swap their long trousers for shorts. They were told no – shorts weren’t permitted under the school’s uniform policy.

When they protested that the girls were allowed bare legs, the school – no doubt joking – said the boys were free to wear skirts too if they chose. So on Wednesday, a handful braved the giggles and did so. The scale of the rebellion increased on Thurday, when at least 30 boys opted for the attire.

“Quite refreshing” was how one of the boys described the experience, pointing out that if even Royal Ascot had allowed racegoers in the royal enclosure to remove their jackets, then the school ought to relax its dress code. Another said he rather enjoyed the “nice breeze” his skirt had afforded him.

A third, tall boy said he was told his short skirt exposed too much hairy leg. Some of the boys visited a shop on their way to Isca – the name the Romans gave to Exeter – to pick up razors to make sure they did not fall foul of any beauty police.

Ironically, the temperature had dropped in Exeter to a more manageable 20C, but some boys said they had enjoyed the freedom afforded by the skirts and that they might continue.