The spectrum from the galaxy would still be the same; he wasn’t changing the quality of the data. He was just changing its intensity. He subtracted this spectrum from the supernova spectrum (which also contained the galaxy spectrum), and out popped a beautiful supernova spectrum.