When a building official, etc., a building surveillant or an official of the relevant city, town, village or prefecture as ordered by the Designated Administrative Agency or entrusted by a building official, etc. enters a building, its site or construction field under the provisions of Article 12, paragraph (7), or where a building surveillant exercises the authority under Article 9-2 (including cases where that Article applies mutatis mutandis in Article 90, paragraph (3)), the official or surveillant must carry an identification card showing the status and present it to any concerned persons.
The authority under Article 12, paragraph (7) must not be construed as being granted for the purpose of criminal investigation.
第十二条第七項の規定による権限は、犯罪捜査のために認められたものと解釈してはならない。
Read this with the articles around it