וְהָאִ֞ישׁ אֲשֶׁר־יַעֲשֶׂ֣ה בְזָד֗וֹן לְבִלְתִּ֨י שְׁמֹ֤עַ אֶל־הַכֹּהֵן֙ הָעֹמֵ֞ד לְשָׁ֤רֶת שָׁם֙ אֶת־יְהֹוָ֣ה אֱלֹהֶ֔יךָ א֖וֹ אֶל־הַשֹּׁפֵ֑ט וּמֵת֙ הָאִ֣ישׁ הַה֔וּא וּבִֽעַרְתָּ֥ הָרָ֖ע מִיִּשְׂרָאֵֽל׃
Should the losing party act presumptuously and disregard the priest charged with serving there the Eternal your God, or the magistrate, that person shall die. Thus you will sweep out evil from Israel:
Torah Temimah points to Sanhedrin / Sifrei.
העמד לשרת. מלמד שצריך שיהא הכהן עומד לשרת.
English: Who stands to serve — this teaches that the priest must be standing to serve.
The legitimacy of the priestly authority in this context is tied to active service.
Derash on the verse (Sifrei) — not a formal named middah of the 13.
The priest whose ruling must be obeyed is one who is actively serving in the Temple.