How do successful UX teams handle features that were influenced by marketing people, but have bad influence on the usability of a web application?

I know many would think or say it shouldn't happen or that a really great UX team doesn't allow it to happen, but the true is it happens a lot (even though successful teams!). I just would like to hear from other experiences, how did you manage to overcome these kind of situation.