Side note, I hate the conventional notation that overloads the symbols so that every distribution is called \pi\left(\cdot\right). Let’s go with probability density functions \pi_{\mathrm{prior}}\left(\theta\right), \pi_{\mathrm{sample}}\left(y|\theta\right) and \pi_{\mathrm{post}}\left(\theta|y\right).
The equality f\left(u\right)=u does not hold even in the most elementary example.
For suppose \theta\sim\mathit{Uniform}\left(0,1\right) and y\sim\mathit{Bernoulli}\left(\theta\right). The density functions are
Regardless, I don’t see why the full distribution wouldn’t factor in a clean way. The obstruction arises when integrating out\tilde{y}; but what if you condition on\tilde{y} instead?