Mammals sense CO2 buildup, not oxygen depletion. By smothering with CO2, the mice spend their last moments desperate to breathe and unable to.
If they were to use nitrogen instead, the mice, having no way to know they've been deprived of oxygen, would just pass out and die.