Tourist allegedly told police he defaced Shinto shrine as a 'prank'.