Section 4. Subject to appropriation, the commissioner of energy resources with the approval of the governor may appoint such persons as he shall deem necessary to perform the functions of the department and his office, provided that the provisions of chapter thirty-one and section nine A of chapter thirty shall not apply to any person holding any such appointment. Every person so appointed to any position in his office shall have experience and skill in the field of such position. So far as practicable in the judgment of the commissioner, appointments to such positions in his office shall be made by promoting or transferring employees of the commonwealth serving in positions which are classified under chapter thirty-one of the General Laws, and such appointments shall at all times reflect the professional needs of the department or division affected. If an employee serving in a position which is classified under chapter thirty-one or in which an employee has tenure by reason of section nine A of chapter thirty of the general laws shall be appointed to a position within this office which is not subject to the provisions of chapter thirty-one of the general laws, the employee shall upon termination of his service in such position be restored to the position which he held immediately prior to such appointment; provided, however, that his service in such position shall be determined by the civil service commission in accordance with the standards applied by said commission in administering chapter thirty-one. Such restoration shall be made without impairment of his civil service status or tenure under section nine A of chapter thirty of the General Laws and without loss of seniority, retirement or other rights to which uninterrupted service in such prior position would have entitled him. During the period of such appointment, each person so appointed from a position in the classified civil service shall be eligible to take any competitive promotional examination for which he would otherwise have been eligible.