The authorities believe that the detained people contacted individuals in Japan, posing as police officers.