To do an unpopular thing in order to serve the needs of another facet of the business is often called taking a "PR hit."