The girl was reprimanded for wearing a short school uniform