If one were to bake a pareve food (on meat pans) in the oven, and there was also a dairy cake in the oven as well (though not touching any pans and on a different shelf), would all the food be treif? Would it matter if it were be d'ieved or l'chatchila?
Any help is appreciated!