They actually did. Remember the Relativity? They talk a big game but, like the regular Prime Directive, the Temporal Prime Directive is secondary to the continued existence of the Federation. That’s why there wasn’t a peep out of them when Kirk stole some whales from the past.