I should also consider possible literary devices like symbolism. The punishment itself might symbolize the oppressive nature of certain social structures. Maybe the setting is a metaphor for a repressive society. The character of Mary could represent individuality clashing with societal norms.