Identity as cross dresser is a bogus story—sorry for the confusion. However, perverts sneaking into opposite sex bathrooms get what they deserve—it is called punishment for doing wrong.
You do NOT have the right to punish anyone yourself in that kind of case, you may only call the manager or police to do so.
Any thoughts you have that the beating was justified is criminal immoral.
The beating of the other grandma wasn’t nice either.