I find it interesting why that doctor's reasoning is flawed: in reality, people don't just follow advice wholesale, they follow some of it based on how much willpower they have for change. By choosing some things to follow over others, they are implicitly making a trade-off.
But to make a good trade, you need to know the relative benefits of two parts of the advice. Giving up fats might be good and/or neutral; but if it exhausts your willpower to avoid sugar, and you indulge, then you are worse off.