One may be jailed for wearing a hat while dancing, or even for wearing a hat to a function where dancing is taking place.