If, contrary to expectations, the booked category is not available, the local rental company will usually offer you a higher class vehicle (free upgrade).
If one is not available either, you are free to take a smaller car. If you have it confirmed in writing on site that no vehicle of the booked category was available, you can submit this confirmation as a claim after your trip.