[guided]We prove a lemma that will be applied to one component of a convex decomposition. Assume $\mu$ is ergodic, let $C\in(0,\infty)$, and let $\nu:\mathcal B\to[0,1]$ be a probability measure satisfying $\nu\in\mathcal M_T$ and
\begin{align*}
\nu(B)\leq C\mu(B)\quad\text{for every }B\in\mathcal B.
\end{align*}
The domination implies absolute continuity: if $\mu(B)=0$, then $\nu(B)\leq C\mu(B)=0$, so $\nu(B)=0$. Hence $\nu\ll\mu$.
By the [Radon-Nikodym Theorem](/theorems/1247), there is a $\mathcal B$-measurable function
\begin{align*}
h:X&\to[0,\infty)\\
x&\mapsto h(x)
\end{align*}
such that
\begin{align*}
\nu(B)=\int_B h(x)\,d\mu(x)\quad\text{for every }B\in\mathcal B.
\end{align*}
We also need $h$ to be bounded, because later we will use $h$ itself as a test function. For $\varepsilon\in(0,\infty)$, define
\begin{align*}
H_\varepsilon:=\{x\in X:h(x)>C+\varepsilon\}.
\end{align*}
Then
\begin{align*}
(C+\varepsilon)\mu(H_\varepsilon)
\leq \int_{H_\varepsilon}h(x)\,d\mu(x)
=\nu(H_\varepsilon)
\leq C\mu(H_\varepsilon).
\end{align*}
The only way this inequality can hold is $\mu(H_\varepsilon)=0$. Taking the countable union over rational $\varepsilon>0$ shows that $h\leq C$ $\mu$-almost everywhere. Redefining $h$ on a $\mu$-null set does not change the measure represented by $h\,d\mu$, so we may assume $0\leq h\leq C$ everywhere.
The key point is to convert invariance of the measure $\nu$ into invariance of its density $h$. Let $\varphi:X\to\mathbb R$ be bounded and $\mathcal B$-measurable. Since $\nu\in\mathcal M_T$, the identity
\begin{align*}
\int_X \varphi(x)\,d\nu(x)=\int_X \varphi(T(x))\,d\nu(x)
\end{align*}
holds first for indicator functions $\varphi=\mathbb 1_B$ and then for bounded measurable $\varphi$ by the monotone class theorem. Substituting $d\nu=h\,d\mu$ gives
\begin{align*}
\int_X \varphi(x)h(x)\,d\mu(x)=\int_X \varphi(T(x))h(x)\,d\mu(x).
\end{align*}
Now choose $\varphi=h$. This is allowed because $h$ is bounded and measurable. We get
\begin{align*}
\int_X h(x)^2\,d\mu(x)=\int_X h(T(x))h(x)\,d\mu(x).
\end{align*}
Since $\mu\in\mathcal M_T$, applying invariance of $\mu$ to the bounded measurable function $h^2:X\to[0,\infty)$ gives
\begin{align*}
\int_X h(T(x))^2\,d\mu(x)=\int_X h(x)^2\,d\mu(x).
\end{align*}
Combining these two identities,
\begin{align*}
\int_X\bigl(h(T(x))-h(x)\bigr)^2\,d\mu(x)
&=\int_X h(T(x))^2\,d\mu(x)-2\int_X h(T(x))h(x)\,d\mu(x)+\int_X h(x)^2\,d\mu(x)\\
&=0.
\end{align*}
A nonnegative function with integral $0$ is $0$ $\mu$-almost everywhere, so $h\circ T=h$ $\mu$-almost everywhere.
It remains to explain why an invariant measurable function is constant under ergodicity. Let $g:X\to\mathbb R$ be a bounded $\mathcal B$-measurable function satisfying $g\circ T=g$ $\mu$-almost everywhere. For each rational number $q\in\mathbb Q$, define
\begin{align*}
E_q:=\{x\in X:g(x)>q\}.
\end{align*}
Because $g(T(x))=g(x)$ outside a $\mu$-null set, membership in $E_q$ and membership in $T^{-1}E_q$ agree outside that null set. Thus
\begin{align*}
\mu(T^{-1}E_q\triangle E_q)=0.
\end{align*}
Ergodicity gives $\mu(E_q)\in\{0,1\}$ for every rational $q$.
Choose $M\in(0,\infty)$ such that $|g(x)|\leq M$ for every $x\in X$, and define
\begin{align*}
c:=\inf\{q\in\mathbb Q:\mu(E_q)=0\}.
\end{align*}
The set in the infimum is nonempty because $E_q=\varnothing$ for rational $q\geq M$, and it is bounded below because $E_q=X$ for rational $q<-M$. If $q<c$, then $\mu(E_q)$ cannot be $0$, so $\mu(E_q)=1$. If $q>c$, the definition of the infimum gives some rational $r<q$ with $\mu(E_r)=0$; since $E_q\subseteq E_r$, we get $\mu(E_q)=0$.
Therefore
\begin{align*}
\{x\in X:g(x)>c\}=\bigcup_{\substack{q\in\mathbb Q\\q>c}}E_q
\end{align*}
has measure $0$, and
\begin{align*}
\{x\in X:g(x)<c\}=\bigcup_{\substack{q\in\mathbb Q\\q<c}}(X\setminus E_q)
\end{align*}
has measure $0$. Hence $g=c$ $\mu$-almost everywhere. Applying this to $g=h$ gives $h=c$ $\mu$-almost everywhere. Since $\nu(X)=1$ and $\mu(X)=1$,
\begin{align*}
1=\nu(X)=\int_X h(x)\,d\mu(x)=\int_X c\,d\mu(x)=c.
\end{align*}
Thus $h=1$ $\mu$-almost everywhere, so $\nu=\mu$.[/guided]