No, he would not have attacked you. Neutrals are neutral in every way, and will only respond if attacked first. Of course if you had attacked a Spanish merchant then the warships would have been on the lookout for you, but after 24 hours all would have been forgiven. Silly, but it's how the game works.