I'm not familar with Norwegian legal code, so...
Was their a previous law that did recognize people's changed gender who changed genders but only for those who underwent the medical procedure?
From what I've seen, most people who psychologically think they are the other gender actually end up going through the procedure(if it is available and affordable to them) rather than the new androgynous" and spur of the moment gender-identity shifts caused by gender role responsibilities, depression, etc.