"Good Guys" "Bad Guys" & Vice-versa

I was watching an Errol Flynn movie, “The Sea Hawk”, and it was the English (“good guys”) against the Spanish (“bad guys”).

This has always made me wonder…

Has the Spanish movie industry ever made movies (like the Sea Hawk for example), where the Spanish are the “good guys” and the English are the “bad guys”?

If so, are there other examples of this type of “role reversal”?

Look no further than American history…the cavalry (countless 30s-50s westerns) and the Indians (Soldier Blue, Dances with Wolves, etc…), the Confederates (The Outlaw Josey Wales) and the Union (most Civil War movies).