Every person who knowingly and willfully marries the husband or wife of another, in any case in which such husband or wife would be punishable under the provisions of this chapter, is punishable by fine not less than five thousand dollars ($5,000), or by imprisonment pursuant to subdivision (h) of Section 1170.