Indeed, the equality will not hold in general. For counterexamples, see [this](https://mathoverflow.net/a/105773/36721) or [this](https://mathoverflow.net/a/172898/36721).