In any prosecution for bribing a labor official, it is a defense that the defendant conferred or agreed to confer the benefit involved upon the labor official as a result of conduct of the latter constituting larceny committed by means of extortion, or an attempt to commit the same, or coercion, or an attempt to commit coercion.
N.Y. Penal Law § 180.20