The local body of believers may disfellowship a person for going off in what that body of believers believes is an errant way; however, ultimately, the judge of one’s beliefs will be how it aligned with Scripture - not the church.
But is an ecclesiastical body says the Bible says A and you claim it says B, which interpretation is the correct one?