Apparently the flag in the image posted was Photoshoped. The Spanish flag in 1714 was white, both for Habsburgs and Bourbons. Looks like flag revisionism to me.
It was officially adopted 70 years later but it had been used in war ships far earlier than that. That’s where it came from: I was made to be easily identifiable while at sea.