We propose a simple contest-based mechanism providing incentives to reduce harmful emissions to their efficient level without infringing upon productive efficiency. Participation in the most stylized form of the scheme is voluntary and individually rational; all rules are mutually agreeable and are unanimously adopted if proposed. The scheme balances its budget and requires no principal. In a perhaps more realistic stochastic output version, which could potentially inform policy decisions, we show that the transfers required by the efficient mechanism create a mutual insurance motive that can serve as an effective rationale for the (gradual) formation of international environmental agreements