More like Company A buys carbon credits which are invested in a company / NGO who provide replacements for (as an example) 30 year old tractors in the developing world. The polluting vehicles have been removed so therefore there is a reduction in carbon. Since Company A continues to produce carbon the net carbon is now 0.