Green energy success is helping Beijing push back against western political pressure