There is nothing fundametally wrong with planting trees or investing in alternative energy. The motivation is questionable, but as far as an allocation of capital is concerned, there are worse things.
It sounds like : "I can pollute the enviornment and buy some 'credits' and that means I'm actually cleaning the enviornment."
I don't quite follow.