Organization Act of the Ministry of Foreign Affairs, Executive Yuan Article 6

If necessary, MOFA may dispatch overseas its staff members and those of its subordinated agencies in pursuance of the Organization Act for Diplomatic Missions.
中文原文 外交部組織法第6條
本部為應業務需要,得派本部及所屬機關(構)人員駐境外辦事,並依駐外機構組織通則規定辦理。

English translation for reference only; the Chinese text prevails. Not legal advice.