Every person who shall fraudulently produce an infant, falsely pretending it to have been born of parents whose child would have been entitled to a share of any personal estate, or to inherit any real estate, with the intent of intercepting the inheritance of any such real estate, or the distribution of any such personal property from any person lawfully entitled thereto, shall, upon conviction, be punished by imprisonment in the penitentiary not exceeding ten years.