One who wishes to turn a meat baking pan into a dairy pan, or the reverse, may do hagalah in boiling water, or place it in a hot oven for about half an hour before baking. As the Rosh wrote, one must first scour the vessel well to remove the rust, and only afterward do hagalah.