If the object subject to official inspection or the object to be seized is a recording medium relating to electronic or magnetic records, the immigration control officer may request the person subject to the official inspection, search or seizure to operate the computer or provide other necessary cooperation.
Read this with the articles around it
immigration control officer
「入国警備官」
The immigration official provided for in Article 61-3-2, who investigates violations and detains, escorts and removes people, among other duties.
Defined inArticle 2, paragraph (1), item (xiii)· applies throughout the law
electronic or magnetic recordmachine translation
「電磁的記録」
A record made in electronic, magnetic or any other form people cannot perceive directly, for use in computer processing.
Defined inArticle 2, paragraph (1), item (xvii)· applies throughout the law