(a) Desertion and mutiny.--Any person subject to this part who solicits or advises another or others to desert in violation of section 6009 (relating to desertion) or mutiny in violation of section 6018 (relating to mutiny or sedition) shall, if the offense solicited or advised is attempted or committed, be punished with the punishment provided for the commission of the offense, but, if the offense solicited or advised is not committed or attempted, the person shall be punished as a court-martial may direct.
(b) Misbehavior before enemy and sedition.--Any person subject to this part who solicits or advises another or others to commit an act of misbehavior before the enemy in violation of section 6023 (relating to misbehavior before enemy) or sedition in violation of section 6018 shall, if the offense solicited or advised is committed, be punished with the punishment provided for the commission of the offense, but, if the offense solicited or advised is not committed, the person shall be punished as a court-martial may direct.