In the Quantum Field Theory(QFT), we work in the distributional sense, that the normalization of vacuum is \begin{equation}\langle0|0\rangle=2E(\vec{0})(2\pi)^3\delta(\vec{0})\end{equation} This fact is solved by renormalisation techniques in situations it is suitable. However, if we forget about the renormalisation and think about the problem not as if it was a problem with infinity, but as a distributional problem, with the delta distribution definition $$\delta(0)f(x)=\delta_0(f(x))=f(0)$$ how would we need to rewrite the first equation to satisfy this definition and what would be the meaning of the applied function?
Note: my "non-standard" writing $\delta(0)f(x)=\delta_0(f(x))$ has nothing to do with the convention used in the first equation and the energy function product with the Dirac delta. It is completely different convention and that is why I am asking how to rewrite the above. However, the energy function above should be a constant, an energy of vacuum, not a function, anyway.