It's not _obligated_ to, no one says it's illegal. NYT can decide to be an asshole and reveal it despite the request not to. Which it has.
Is there a real argument for why the NYT _should_ publish Scott's name? Other than "it doesn't care whether that hurts the subject, and it expects to get more clicks this way".