If you choose a medal when registering for a race, your reward will be a medal. Inventory is subtracted at signup, not completion, so your selected reward is always accounted for. 

Did this answer your question?