; (B) be in pay grade E–5 or E–6; and (C) meet all requirements for acceptance of a commission as a commissioned officer in the armed forces; and (2) sign an agreement that, unless sooner separated, the member will— (A) complete the educational course of legal training; (B) upon completion of the educational course of legal training— (i) accept a commission as a commissioned officer in the armed forces; and (ii) accept transfer or detail as a judge advocate or law specialist within the department concerned