Parashas Ki Sisa · Passuk 30:33
Torah Temimah points to Kerisus 6b (verified).
Sefaria — Kerisus 6b
E-Daf — Kerisus 6b
English: The Sages taught: One who anoints priests or kings with the anointing oil is exempt. What is the reason? As it is written, “and whoever puts any of it upon a stranger” — we require that he be a stranger from beginning to end (i.e., not a person who was once eligible for anointing).
Derash on the verse — definition of “stranger” for the anointing-oil prohibition.
One who anoints a kohen or king is exempt, because “stranger” means one who was never eligible for anointing from the outset.