Whenever I go to look at or work on a boat I automatically take my shoes off, it shows respect for the boat and the owner unless they say "no need to remove"
I expect the same on my boat as well for anyone that enters the boats interior.
Maybe I am the odd one out but then again I don't walk...