The switching behavior of CO2/N2 responsive emulsion systems formed by an amine functionalized quaternary ammonium surfactant