The court may, when it is necessary, search the body, articles, residence or any other place of the defendant.
裁判所は、必要があるときは、被告人の身体、物又は住居その他の場所に就き、捜索をすることができる。
The body, articles, residence or any other place of a person other than the defendant may be searched only when it can be reasonably supposed that articles which should be seized exist.
被告人以外の者の身体、物又は住居その他の場所については、押収すべき物の存在を認めるに足りる状況のある場合に限り、捜索をすることができる。
Read this with the articles around it