The problem we have on our base is that rules are dictated by the Marine command but the Navy that operates under it don't always like to adhere to the dress codes so there's a lot of butting heads.
I have to laugh at this a little since the Marines fall under the Dept of the Navy, I have a few retired friends ( Vietnam Vets) I like to screw with about it. All in good fun.