Court rules in favor of trans man's ID card gender change re