I find the question very confusing, if you understand CI - which is likely the problem.
Confidence intervals are a statement saying that the true value you are estimating, i.e. the population mean $\mu^*$ - is in your estimated given interval $\hat \mu_n \pm 1.96 \frac{\hat \sigma_n}{\sqrt n}$. The interval is usually stated as
$$ \hat \mu_n \pm 1.96 \frac{\hat \sigma_n}{\sqrt n} $$
assuming $n \geq 30$ to avoid having to worry if we should be using the t-test instead of 1.96 (which you should if you're using unbiased std). So if you are given the population mean (e.g. $\mu^* = E_x[x]$ the true expectation of the r.v. x) then there is nothing for you to do.
Note that what the statement means this formally:
$$ Pr[ \mu^* \in [\hat \mu_n - 1.96 \frac{\hat \sigma_n}{\sqrt n}, \hat \mu_n + 1.96 \frac{\hat \sigma_n}{\sqrt n}] \geq 0.95 $$
in particular note that the EVENT (or the indicator random variable) you are checking for is $\mu^* \in [\hat \mu_n - 1.96 \frac{\hat \sigma_n}{\sqrt n}, \hat \mu_n + 1.96 \frac{\hat \sigma_n}{\sqrt n}]$. Meaning that if you surveyed (avoiding the word sample to not confuse with sampling $x$) a bunch of data sets $D_n = \{ x_i \}^n_{i=1}$ then 95% of the time the true mean $\mu^*$ (the quanity you are trying to estimate) would be in that interval. It only says that your (current) interval is likely to contain the true mean. I want to emphasize current because each data set will have it's own confidence interval e.g. if you were estimating the CI of the validation set and sampled 100 batches (with at least 30 points), then 95 of those batches their specific confidence interval will hold true i.e. the true mean would be contained for 95 of them. Note you never actually know which ones since the true/population mean is usually unknown (otherwise there is nothing to do - which answers your question actually). Note that thus the r.v. here is really the mean your estimated and the std you are estimating.
The common misunderstanding is that for some fixed interval, you claim the mean is within those values. That is wrong because that is not what the statement says. The statement says that if you kept computing intervals the true mean will be in there 95% and nothing more afaik. It doesn't say anything about a specific set of values. The mean will either be there or it will not. The statement is about the r.vs you are computing i.e. the actual interval. (don't get confused that x's are also r.v.s from the true distribution your trying to learn stuff about).
This is a nice reference imho: https://www.youtube.com/watch?v=MzvRQFYUEFU&list=PLUl4u3cNGP60hI9ATjSFgLZpbNJ7myAg6&index=205
NOTE: as a bonus it is interesting to see that this looks quite similar to the definitions used in statistical learning theory (STL), in particular to things like:
$$ Pr[ | ERM(f, D_n) - \mu^* | < \gamma ] \geq 1 - \delta $$
if you notice that the bounded absolute value is the same as being in the interval $[\gamma]$ and that CI is a especial case for the estimator being the sample mean but usually in SLT the estimator is maximum likelihood (e.g. ERM/Empirical Risk Minimization). So both are ML's and trying to see how far they are from the true mean, but the man in STL is the true error (expected risk).