I'd wager he'll die and reset shortly after opening the door and discovering what's inside, but perhaps before he can actually claim the treasure. I'd also bet he finishes the Rubia route during his next life, though it could also be interesting if he somehow clears her route on this run, making him unable to restart from the same point and leaving Rubia permanently or at least semi-permanently lost (think Re:Zero style).