It depends on the captain....
I showed up once below the dress code (I was jeans and collared golf shirt with sneakers). Captain was so nice and said something along the lines of "Thats what we need more of in this industry is some good ol boys!!"
I got really lucky needless to say. I did explain to him the reason I was dressed as so, and how it was unavoidable... he didnt mind at all.