Then it’s on the church to deny them membership in the first place. Church membership is based on the person’s ability and willingness to lead a Bible-based life. Homosexuality disqualifies them from the start.
And if they are not openly homosexual until time to have their union blessed by the church?
Actually, homosexuality does not, of itself, disqualify one as a Christian. However, continuing to be homosexually active does.