Water and the two metals form an electrochemical cell, and if the coating is less reactive than the coatee, the coating actually promotes corrosion.
From the en.wikipedia.org
The lot comprises Sir Fredericks'court sword, coatee, breeches, waistcoat and cocked hat, he would have worn this dress for formal events such as a state dinner.