"or to the judge": This is as we said: Even if there are no Cohanim and Levites there, it is valid.
"that man shall die": the unqualified death penalty in Scripture — strangulation.
"that man": and not one who is forced or unwitting or under some misapprehension.
"and you shall remove the evil from Israel": Remove the doer of evil from Israel.
(Devarim 17:14) "When you come to the land": Do the mitzvah prescribed herein, in reward of which you will enter the land.