This study examines the interactions between optimal environmental and distortionary fiscal policies within a dynamic stochastic general equilibrium (DSGE) framework using analytical and quantitative methods. We demonstrate that the marginal cost of public funds can exceed, be equal, or fall below one, based on utility specifications and the degree of relative risk aversion. This variation can lead to under-, over-, or optimally taxed environmental damages, with the latter two suggesting the potential for a strong double dividend. Furthermore, we challenge conventional labor tax smoothing theory, showing that a Ramsey-optimal policy allows labor tax volatility in the absence of carbon taxation. Our quantitative analysis reveals that an effective carbon policy reduces fluctuations and significantly mitigates contractions in major economic variables such as GDP, consumption, and welfare in response to environmental shocks. Increased pollution leads to higher emission costs, prompting the Ramsey planner to raise the carbon tax and increase abatement efforts. However, positive government spending or productivity shocks increase the cost of abatement, leading to lower carbon taxes.