Pollution control under emission constraints: Switching between regimes