The Gemara defines the precise parameters of zaken mamre: he must be a member of the Sanhedrin, qualified to rule, who defies the Great Sanhedrin's ruling on a matter of practical halacha after returning to his city and teaching contrary to their decision.
אָמַר רַב יוֹסֵף: כְּמַאן אָזְלָא הָא שְׁמַעְתָּא דְּרַב אַסִּי? כְּרַבִּי עֲקִיבָא, דְּאָמַר: ״דָּבָר״, וְלֹא חֲצִי דָבָר. אֲמַר לֵיהּ אַבָּיֵי: דְּאִי כְּרַבָּנַן, נֶהֱרָגִין? הָא ״מִתּוֹךְ״ קָאָמַר! אֶלָּא, אֲפִילּוּ תֵּימָא רַבָּנַן, וּבִדְלָא אֲתוֹ עֵידֵי גְּנֵיבָה. אִי הָכִי, מַאי לְמֵימְרָא? לָא צְרִיכָא, דְּאַף עַל גַּב דַּאֲתוֹ לְבַסּוֹף. וְאַכַּתִּי מַאי לְמֵימְרָא? לָא צְרִיכָא, דְּקָא מְרַמְּזִי רַמּוֹזֵי. מַהוּ דְּתֵימָא: רְמִיזָא מִילְּתָא הִיא? קָא מַשְׁמַע לַן: רְמִיזָא לָאו כְּלוּם הוּא. מַתְנִי׳ זָקֵן מַמְרֵא עַל פִּי בֵּית דִּין, שֶׁנֶּאֱמַר: ״כִּי יִפָּלֵא מִמְּךָ דָבָר לַמִּשְׁפָּט״. שְׁלֹשָׁה בָּתֵּי דִינִין הָיוּ שָׁם: אֶחָד יוֹשֵׁב עַל פֶּתַח הַר הַבַּיִת, וְאֶחָד יוֹשֵׁב עַל פֶּתַח הָעֲזָרָה, וְאֶחָד יוֹשֵׁב בְּלִשְׁכַּת הַגָּזִית. בָּאִין לָזֶה שֶׁעַל פֶּתַח הַר הַבַּיִת, וְאוֹמֵר: כָּךְ דָּרַשְׁתִּי, וְכָךְ דָּרְשׁוּ חֲבֵירַי. כָּךְ לִימַּדְתִּי, וְכָךְ לִימְּדוּ חֲבֵירַי. אִם שָׁמְעוּ, אָמְרוּ לָהֶם. וְאִם לָאו, בָּאִין לָהֶן לְאוֹתָן שֶׁעַל פֶּתַח עֲזָרָה, וְאוֹמֵר: כָּךְ דָּרַשְׁתִּי וְכָךְ דָּרְשׁוּ חֲבֵירַי, כָּךְ לִימַּדְתִּי וְכָךְ לִימְּדוּ חֲבֵירַי. אִם שׇׁמְעוּ, אָמְרוּ לָהֶם. וְאִם לָאו, אֵלּוּ וָאֵלּוּ בָּאִין לְבֵית דִּין הַגָּדוֹל שֶׁבְּלִשְׁכַּת הַגָּזִית, שֶׁמִּמֶּנּוּ יוֹצְאָה תּוֹרָה לְכׇל יִשְׂרָאֵל, שֶׁנֶּאֱמַר: ״מִן הַמָּקוֹם הַהוּא אֲשֶׁר יִבְחַר ה׳״. חָזַר לְעִירוֹ, שָׁנָה וְלִמֵּד בַּדֶּרֶךְ שֶׁהָיָה לָמֵד – פָּטוּר, וְאִם הוֹרָה לַעֲשׂוֹת – חַיָּיב, שֶׁנֶּאֱמַר: ״וְהָאִישׁ אֲשֶׁר יַעֲשֶׂה בְזָדוֹן״. אֵינוֹ חַיָּיב עַד שֶׁיּוֹרֶה לַעֲשׂוֹת.
MISHNA: A rebellious elder according to the court, who does not observe the ruling of the court, is executed by strangulation, as it is stated: “If there shall be a matter too hard for you in judgment…and you shall arise and ascend unto the place that the Lord your God shall choose…and you shall do according to the matter that they shall declare unto you…and the man that shall do so intentionally not to listen…and that man shall die” (Deuteronomy 17:8–12). There were three courts there in Jerusalem. One convenes at the entrance to the Temple Mount, and one convenes at the entrance to the Temple courtyard, and one convenes in the Chamber of Hewn Stone. An elder who issues a ruling contrary to the ruling of his colleagues, and his colleagues come to that court that is at the entrance to the Temple Mount, and the elder says: This is what I interpreted and that is what my colleagues interpreted; this is what I taught and that is what my colleagues taught. If the members of the court heard a clear halakhic ruling in that case, the court says it to them. And if not, they come to those judges who are convened at the entrance to the Temple courtyard, which is a more significant tribunal. And the elder says: This is what I interpreted and that is what my colleagues interpreted; this is what I taught and that is what my colleagues taught. If the members of the court heard a clear halakhic ruling in that case, the court says it to them. And if not, these judges and those judges come to the High Court, the Sanhedrin of seventy-one judges that is in the Chamber of Hewn Stone, from which Torah emerges to the entire Jewish people as it is stated: “And you shall do according to the matter that they shall declare unto you from that place that the Lord shall choose and you shall observe to perform according to all that they shall teach you” (Deuteronomy 17:10). They are the ultimate arbiters who establish the halakha that is binding. If they ruled contrary to the ruling of the elder and the elder then returned to his city, and nevertheless, he taught in the manner that he was teaching previously, he is exempt from punishment. But if he instructed others to act on the basis of his ruling that stands contrary to the ruling of the Sanhedrin, he is liable to be executed, as it is stated: “And the man that shall do so intentionally not to listen” (Deuteronomy 17:12), meaning that one is not liable unless he instructs others to act. A student who is not yet an elder, i.e., he has not been ordained, who instructs others to act contrary to the ruling of the Sanhedrin, is exempt, as a ruling given prior to ordination is not a valid ruling. It follows that his stringency is his leniency. The stringency imposed upon the student that he is not sanctioned to issue rulings results in the leniency that if he instructs others to act on the basis of his ruling that is c