Kashrut: Dairy/Meat: Neutral/Pareve Foods in Dirty Dairy or Meat Pan

Situation You want to bake neutral/pareve food in a meat pan that has some meat liquid in the bottom.
What To Do You must use a double layer of separation such as foil, or else the pareve food will become meat (even if there is one layer of foil between the pareve food and the meat liquid).