Scotland captain Greig Laidlaw came off the bench to deny Japan a famous victory as the Brave Blossoms fell to a 21-16 defeat on Saturday.