Japan, the world’s most heavily indebted nation, is getting paid to borrow.

The Japanese government for the first time Tuesday issued benchmark 10-year bonds with negative yields, meaning it is effectively charging investors for the privilege of lending it money.

That is the result of the topsy-turvy world of negative interest rates, which...