Closer defence ties agreed during the Prime Minister's trip to Japan, but the government won't reveal details of a deal supposed to exempt Australian troops from the death penalty.