Wherever in the Revised Statutes a reference is made to any department, agency or office, or officer thereof, the functions of which department, agency, office or officer have been legally transferred to another department, agency, office or officer, the provision of law wherein the reference is made shall be applicable to the department, agency, office or officer, to which such functions have been transferred.