Since ernst is a regular word in Dutch with the meaning of "seriousness", it is an absolute no-no to me as a Dutch person. It would be like an English person naming their son Seriousness, which is just tacky and cruel.
"It is no measure of health to be well-adjusted to a profoundly sick society." ~ Jiddu Krishnamurti (1895-1986)