I am a little puzzled about the World Cup women who were arrested for wearing those orange dresses with some beer company logo at a match. What law was violated?

Just because Budweiser (I think it is) are 'official' sponsors can they wield this kind of power. Sure, they can maybe dictate who gets turfed out of the stadium (a big maybe), but how does someone get put in jail because of this?