When the residents of Villamartín heard that the landmark castle near their small town in southern Spain was to be restored, they probably envisaged a thoughtful restoration of the medieval stronghold to something approximating its former glory.

Instead, they have been left with something that many feel more closely resembles a multilevel parking garage.

The repair of Matrera Castle, perched on a ridge in the Andalusia region, has infuriated locals and provoked the ire of some conservators. Images of the castle before and after the restoration have recently fueled outrage and ridicule on social media.

“It’s a barbarity,” one town resident was quoted as saying by the Spanish news channel La Sexta. “I don’t like what they’ve done at all,” said another. “It looks like they’ve used builders instead of restorers,” a third said, using a mild expletive to assess the quality of the work.