Let $\mathcal{L}$ denote the $\sigma$-algebra of Lebesgue measurable sets on $\mathbb{R}$. Then, if memory serves, there is an example (and of course, if there is one, there are many) of a continuous function $f:\mathbb{R}\rightarrow \mathbb{R}$ that is not measurable in the sense that $f:(\mathbb{R},\mathcal{L})\rightarrow (\mathbb{R},\mathcal{L})$ is measurable, but unfortunately, I was not able to recall the example. Could somebody please enlighten me?
Note that this is not in contradiction with the usual "Every continuous function is measurable.", because in this statement it is implicit that the co-domain is equipped with the Borel sets, not the Lebesgue measurable sets.