Let $(\Omega, \mathfrak A, P)$ be a probability space and $\mathscr P$ the set of probability measures. Let $X$ be a nonnegative random variable with $\sup_{P \in \mathscr P}E_P[X]<\infty$.
Question: Is it true that $$\operatorname{ess sup}_{P\in \mathscr P}E_P[X]=\sup_{P \in \mathscr P}E_P[X] \ ?$$
I would guess this is true since $E_P[X]$ is always a finite number depending on $P$ but I can't explain it rigorously.
Any hints or ideas?