The dog found itself trapped on a ledge and was rescued by police officers with a ladder in the Spanish city of Seville.