In Púbol, north of Barcelona, a castle sits atop a hill. With vines sinuously wrapped around its brick walls and…