Do scientists lose credibility when they become political?

The Atlantic quoted Simon Donner, a climate scientist and UBC geography professor, about a study that found the public is more accepting of advocacy by climate scientists than previously thought.

Donner wrote that the study suggests scientists could have more flexibility to advocate for issues and not risk their standing in the public eye.