Course, there is always the possibility that this kids normal male hormones are raging and he just figured out a way to get in the girls bathroom without getting in trouble.
If this had happened when I was in grade school a bunch of the toughest girls would have made sure the girl with penis had a horrible time in the girl’s bathroom. He/she wouldn’t have wanted to use it & waited until he/she got home.