How is the law applying to a rebellious elder adjudicated? When a matter is undecided because of its difficulty and a sage who is erudite enough to issue rulings whether with regard to a matter which he arrived at through his own reasoning or which he received from his teachers. He and the sages who differ with him ascend to Jerusalem and come to the court which holds sessions at the entrance to the Temple Mount.
The court tells them: "This is the law." If the elder listens and accepts the ruling, it is desirable. If not, they all go to the court which holds sessions at the entrance to the Temple Courtyard. They also say: "This is the law." If the elder listens and accepts the ruling, they go their ways. If not, they all go to the Supreme Sanhedrin in the Chamber of Hewn Stone from which the Torah emanates to the entire Jewish people, as Deuteronomy 17:10 states: "From that place which God has chosen." The Supreme Sanhedrin tell them: "This is the law" and the all depart.
If the elder returns to his city and continues to interpret the law as he did previously and teaches this interpretation to others, he is not liable. If he gave a directive for action or acted according to his conception himself, he is liable for execution. There is no need for a warning. Even if he offers a rationale to explain his conduct, we do not heed him. Instead, once witnesses come and testify that he acted according to his own directive or that he directed others to perform a deed, we sentence him to death in his local court. We take hold of him and bring him from that place to Jerusalem. For we do not execute him in the presence of his local court, nor in the presence of the Supreme Sanhedrin who left Jerusalem, but instead, bring him to the Supreme Sanhedrin in Jerusalem. Until the next pilgrimage festival, he is kept under watch. During the pilgrimage festival, he is executed by strangulation, as implied by ibid.:13: "And all Israel shall hear and become fearful." This indicates that his execution must be announced.
There are four transgressors whose execution must be announced publicly: a rebellious elder, lying witnesses, a person who entices others to worship idols, and a wayward and rebellious son. For with regard to all of them, the Torah states: "so that they will hear and become afraid."