Regulations Governing The Overnight Stay Of Transit Passengers Article 4

The Agency shall verify the passports or travel documents of passengers who have been granted overnight stay and give them to the Provider, who will return them upon the passengers' departure.The Provider shall provide ID cards to the passengers set forth in the preceding paragraph during their stay.
中文原文 過境乘客過夜住宿辦法第4條
經許可過夜住宿之乘客,其護照或旅行證件經移民署核對確認無誤後,由移民署將乘客之護照或旅行證件交由運輸業者收存保管,於乘客離境時發還。
前項乘客過夜住宿期間,由運輸業者發給識別證。

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