Gay marriage advocate "overjoyed" at ruling; opponent says legal battle not over