The opposition to copper mining could jeopardize renewable energy projects.