(Ibid. 12) "According to the Torah that they teach you": This teaches us that (a rebellious elder) incurs the death penalty only for (controverting) words of Torah (i.e., the Written Law), but not for (controverting) the words of the scribes (i.e., the Oral Law).
"and the judgment that they tell you to do": This is a positive commandment (i.e., the rebellious elder transgresses a positive commandment).
"You shall not turn aside from the thing that they tell you": This is a negative commandment.
"right or left": Even if it seems in your eyes (that they are telling you) left is right and right is left, listen to them.