In some cases your booking changes to indicate such when you dig it up online before arrving at the hotel. Generally this sticks, although sometimes it may not and you get the booked room upon check-in.
In reaility, it is only when you check in that you can be sure an apgrade had been applied.