It is illegal to wear a hat that obstructs people 's view in a public theater or place of amusement .