Pirates wielding rocket-propelled grenades and AK-47s have prompted Japan to ease a ban on civilians carrying guns, allowing guards on locally registered oil tankers to be armed for the first time.