Yes. Each side of the consolations bracket gets its own bronze.
When considering which sports to keep vs. cut and how many athletes per sport to invite, IOC looks at how many countries earn medals. This lets more countries win medals, thus keeps the sport viable.
Boxing does the same. Except no repechage. Lose the semifinal and you're a bronze medalist. Always thought it was weird.