Collective punishment is justified here because all men are guilty by definition.
Collective punishment is ok because Polis is a homosexual. So he thinks that only openly heterosexual men would be affected. He personally would not ever be affected by this, because his excuse would be that he is a homosexual, and we all know that homosexuality is a recognized grievance group.