Whenever a cemetery or other place of burial is lawfully authorized to be removed from one place to another, the right and duty to disinter, remove, and rebury the remains of bodies there lying buried devolves upon the persons whose duty it is to bury the bodies, in the order in which they are named in section 23-06-03. If all such persons fail to act, the duty devolves upon the lawful custodians of the place of burial so removed. Every omission of such duty is punishable in the same manner as other omissions to perform the duty of making burial are punishable.