Pesachim 16a: Fueling the Flames of Chanukah

Those who studied the daf this week were forced to challenge their long-rooted understanding of the finer points of the Chanukah miracle.
The Gemara in Shabbos tells us that the Yevanim purposely defiled the oil designated for the Menorah and rendered it tamei, ritually impure. When the Bnei Yisrael retook the Beis HaMikdash, they discovered one jug of oil that was intact with the seal of the kohen gadol. This oil, which was clearly tahor, was enough oil to light the Menorah for one day. Miraculously, they were able to use the oil to light the Menorah for eight days. (The issue of whether the Menorah burned continuously for eight straight days or was relit every day is discussed by the commentators. Simply understood, they fulfilled the mitzvah of lighting the menorah every night.)
The issue is that our Gemara in Pesachim (16a) quotes Rav’s opinion that liquids in the Beis HaMikdash could not become tamei. The rabbis decreed that outside the Beis HaMikdash, liquids such as olive oil are susceptible to tumah; however, in the Beis HaMikdash that rule was suspended. How did Rav understand the Chanukah story? How was it possible, according to his understanding, that the olive oil designated for the Menorah became tamei? Olive oil in the Beis HaMikdash is impervious to tumah!