holds a lien on any post in any department shall be confirmed in any post in any other department unless his consent and the consent of the department, where he holds such lien, has been obtained in writing. ...