Many eateries will defend their dress requirements by saying they are necessary to keep customers safe from seeing or hearing anything offensive. They might argue that this isn't really about policing standards of decent behaviour, but rather about regulating what passes as fashionable.