Oh, come on!
If you drop an empty can it also floats. The ship is not a piece of iron: it is rather a large volume of air surrounded by just a little bit of iron. If you replace the air with water (which happens if you make a hole in the hull) it floats no longer...