It depends on whether he hurled the ball because the person was a figure of authority or because the person was a woman in a position of authority.
There are a lot of woman in uniforms that are subject to sexual harassment that men simply are not. There is a problem within cultures in fully recognizing the authority the uniform lends to a person if there are breasts and hips filling them out. Not across the board, but enough that such a motivation cannot be dismissed. There is also a level of privilege that many men in uniform adhere to and recognize for males but not females, or they see the inclusion of women as something that infringes on privileges that they see as inherent rights rather than privileges.
The cultural change does not automatically happen when the uniform is put on. There needs to be a tipping point over time as numbers increase, authority is seen as being properly exercised, and that authority is backed up when anyone tries to undermine it.