(a) Each person subject to this article discharged from the state military forces who is later charged with having fraudulently obtained his discharge shall be, subject to section forty-six of this article, subject to trial by court-martial on said charge and shall after apprehension be subject to this article while in the custody of the military for such trial. Upon conviction of said charge he shall be subject to trial by court-martial for all offenses under this article committed before the fraudulent discharge.
(b) No person subject to this article who has deserted from the state military forces shall be relieved from amenability to the jurisdiction of this article by virtue of a separation from any subsequent period of service.