I have no problem with a charge of "offensive behaviour" or similar, but actaully having a criminal offence of "adultery"

What on earth is going on here? Do they have other morals offences ? Maybe covetting your neighbours Ford Mustang, or teling your father to "build a bridge and get over it" or similar disrespect? What year is this? 1650?