§ 130.112 DEFENSE.
   It is a defense to a charge of solicitation or conspiracy that if the criminal object were achieved, the accused would not be guilty of an offense.
(ILCS Chapter 720, Act 5, § 8-3) (1981 Code, § 42.08, 8-3)