OSAKA - Japan on Wednesday granted a Ugandan woman refugee status after a court ordered the state to do so on the grounds she faced a risk of persecution in her country for being gay.