Organization Act of Diplomatic Missions of the Republic of China (Taiwan) Article 12

Central government agencies other than those under the Executive Yuan that dispatch personnel abroad in accordance with relevant laws shall establish an organization chart after consulting with MOFA. Dispatched personnel shall be attached to a relevant internal department of a diplomatic mission. The provisions of Paragraph 2 of Article 6, Article 7 to Article 9, and the preceding Article shall apply.
中文原文 駐外機構組織通則第12條
行政院以外之中央政府機關依法派員駐外者,得於協調外交部後,另定編制表,派員配屬駐外機構相關內部單位,並準用第六條第二項、第七條至第九條及前條規定。

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