Yes it can, in the context of a specific case. In the case of a school club, say, a man (case A) and woman (case B) can be discriminated against with the same force, albiet in different ways within the walls of the club (A or B), because social groups can have different rules than wider society.
In the same way that being white in some countries makes you a minority that is being discriminated against, whereas in others you're not.
The fact the woman gets discriminated against more outside the club is important, but it doesn't make the discrimination better or more excusable in the case of the man being discriminated against.
Do you get what I mean?