Stop! Your mistaken.
Your using incorrect hermeneutics in applying the term "to Judge", within the context of discernment. The term to judge can have a dual usage purpose, one is to always be used to discern and to distinguish between what is good and what is evil and the other to condemn and to give sentencing.
Christians according to the Holy Bible can make judgement by discerning the times they are living in, by separating themselves from the bread of malice.
Lawsuits Among Believers
1If any of you has a dispute with another, do you dare to take it before the ungodly for judgment instead of before the Lord’s people?
2Or do you not know that the Lord’s people will judge the world? And if you are to judge the world, are you not competent to judge trivial cases?
3Do you not know that we will judge angels? How much more the things of this life!
4Therefore, if you have disputes about such matters, do you ask for a ruling from those whose way of life is scorned in the church?
5I say this to shame you. Is it possible that there is nobody among you wise enough to judge a dispute between believers?
6But instead, one brother takes another to court—and this in front of unbelievers!
7The very fact that you have lawsuits among you means you have been completely defeated already. Why not rather be wronged? Why not rather be cheated?
8Instead, you yourselves cheat and do wrong, and you do this to your brothers and sisters.
9Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor men who have sex with men
a 10nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God.
11And that is what some of you were. But you were washed, you were sanctified, you were justified in the name of the Lord Jesus Christ and by the Spirit of our God.
It is Paul writing those same words above which permitts the Church to judge according to the righteousness given to it to discern the times, to reject homosexuality, to reject whoremongering, to reject pedophilia, to reject a rapist, without involving a secatarian court when it comes to marriage, divorce, moraility, and child custody.
Paul calls the Christians who go to these secatariam courts as hypocrites that should not have gone down that path in the first place. Paul emphasizes the power of the Church community to even make decisions that are valid and enforcible.
A Church can enforce the rejection of anything that offends the Living God and that inclides homosexuals who continue to practise the sin and transgenders who try to defile God"s image.
The Bride of Christ is at war and if people are aiding and abetting the enemy of the cross, with the sim of doing away of the objective moral laws of God in favour of subjective human conscious that results from emotions and feelings, then that branch will be ripped out from the living vine by Jesus Christ himself.