Denote by $\mathcal L$ the set of continuously differentiable real valued functions on $[0, 1]$ with Lipschitz continuous derivative. Does there exist a Borel measurable function $ f: [0, 1] \times \mathbb R \to \mathbb [0, \infty) $ such that
$$\inf_{g \in \mathcal L} \int_{0}^{1} f(t, g(t)) \ dt < \inf_{h \in C^2([0, 1])} \ \int_{0}^{1} f(t, h(t)) \ dt?$$
Note: Here the integrals are allowed to take the value $+\infty$.