Japan has given the green light for its nationals to marry same-sex foreign partners in countries where gay marriage is legal, a justice ministry official said Friday.

Japan does not allow same-sex marriages at home and has so far also refused to issue a key document required for citizens to wed overseas if the applicant's intended spouse was of the same gender.