If you were to create a "boys who code" organization and get denied for use of a public space that a "girls who code" org has used, then a) you could sue for use of the space, citing the girls groups' use, and win, or b) you could sue saying that the girls group shouldn't be allowed to use it, and win.
Years ago, my wife founded two chapters of a national organization who did "girls who code" sorts of things. There was (to her) a surprising amount of infighting about how to handle registrations from males. Leadership felt that men should not be allowed to attend, but there were at least a couple of chapter leads (including my wife) who felt that men should be allowed to attend, but where spots were scarce, they should be prioritized to women.
Disregarding the politics of it, there was definitely not a shortage of men who were discouraged from signing up because they were somehow icked out over the name. I'm sure some men were, and I'm sure others probably deferred on the grounds that they didn't want to take spots away from those for whom the mission was intended -- but because the organization was unwilling to publish official guidance for reasons I won't bother to opine on, my wife was routinely in the position of having to explain her attendance policies to men who had signed up