The solution here is pretty simple. If a club has a restrictive dress code, it should be noted when they sign up for a league. Then it is up to the league to decide if they are willing to comply. If not, the club can adjust their policy for team play or not join the league.
The idea that you could show up unaware there is a dress code and face a default is unacceptable. If anyone takes a default, it should be the host team. They are the one saying you can't play. If they face a default, it puts the onus of making sure visiting teams are informed where it should be. On them.
The idea that you could show up unaware there is a dress code and face a default is unacceptable. If anyone takes a default, it should be the host team. They are the one saying you can't play. If they face a default, it puts the onus of making sure visiting teams are informed where it should be. On them.