Which drives your actions - Popularity or Performance?

At what point are you willing to put your popularity at risk to improve your team’s performance?