A Scottish Conservative councillor has apologised for sharing an image comparing Muslim women to patio umbrellas.

Aberdeenshire councillor and deputy provost Ron McKail is reported to have shared an image of three folded black patio umbrellas on Facebook.

The post from 2016 included the text: “I spent half an hour talking to them, wanting to learn about their culture until the bartender cut me off and told me they were patio umbrellas.”

The apology came amid a wider row in the party over comments made by former foreign secretary Boris Johnson on burkas.

Boris JohnsonBoris Johnson made comments in which he compared women wearing face-covering veils to bank robbers (Stefan Rousseau/PA)

Mr Johnson has refused to apologise for comments comparing women wearing face-covering veils to bank robbers and letter boxes despite condemnation from senior Tory figures including Scottish party leader Ruth Davidson.

Mr McKail has previously said sorry for sharing social media posts from the far-right group Britain First.

He told the Daily Record newspaper the patio umbrella image was part of the same group of posts, adding: “I have apologised for sharing that and made clear I thought I was sharing material in support of British troops.”

Mr McKail, who represents the Westhill and District ward, added that he did not agree with Mr Johnson’s comments.

A spokesman for the SNP said: “This is typical hypocrisy from Ruth Davidson – she’s outraged about Islamophobia when it suits her but turns a blind eye when it’s in her own party.

Boris Johnson protestA woman wearing a burka joins a protest near Boris Johnson’s Uxbridge and South Ruislip Conservative office following his comments (Jonathan Brady/PA)

“The Tories need to get their house in order – vile Islamophobic and bigoted views are rife within their party, to the point where they think someone with these views is an acceptable choice to be deputy provost in Aberdeenshire.

“The Muslim Council of Scotland have called on Ruth Davidson to take action and root out Islamophobia within her party – a call that has fallen on deaf ears.

“Perhaps Ruth Davidson should concentrate on removing the deeply-ingrained racism and Islamophobia on her own patch before trying to occupy any moral high ground on the back of comments by her party colleagues south of the border.”