The Trouble with Spies (1987)

spanishcastlemoviemagic.com

Donald Sutherland spoofs his way through this spy movie and takes on a mission to Ibiza where, 8 minutes into the film he arrives by ferry (like what people used to do), and we see the castle looming (there must be another word) over the harbour.