I've never been forced to pay an upgrade fee when the class of car I reserved was not available.
However, I had a situation some years ago with a free upgrade coupon. The terms of the coupon stated "if available". When I presented the coupon I was told the upgrade was only available if I paid extra. I think this was a Thrifty but I'm not sure.