A person who has been discharged from a regular component of an armed force under section
1165 or
1166 of this title may, upon his request and in the discretion of the Secretary concerned, be enlisted in that armed force in the grade prescribed by the Secretary. However, a person discharged under section
1165 of this title may not be enlisted in a grade lower than the grade that he held immediately before appointment as a warrant officer.