My experience has always been that I got the benefits appropriate for the my status at the time of the stay. That's worked both ways for me: booking made before status, got Gold matched from UA before stay, got Gold benefits during stay. Another time, I made a booking while I had Gold status, then got bumped down to Silver before the stay, and only had Silver benefits during the stay.