Taubes is wrong. Is there nuance, yes. But the law of conservation of energy is not theoretical. His argument is. He selectively quoted a meta-study and left out key details. He is an author trying to sell books.
As a general rule, don’t take diet advice from someone who looks like a melted candle.