If you Z-target Demise, then called Fi, she'll tell you that Demise has mastered time itself...whatever that means.
So that pocket dimension final battle arena may have been outside of time.
Also, you're forgetting that Link used the Triforce in the present time.
The Triforce is a...