Protest held in response to 'no hats' policy