Es Tunis had two men sent off late on against Guadalajara but won 6-5 on penalties in the fifth-placed play-off at the Club World Cup.
Real Madrid will face Kashima Antlers in the FIFA Club World Cup semi-finals after the AFC Champions League winners beat Guadalajara.
The tournament is due to get underway in the United Arab Emirates, with Real Madrid looking to become champions for the third consecutive year.
Club World Cup holders Real Madrid will take on either Chivas Guadalajara or the Asian champions in their 2018 semi-final.
Guadalajara won their first CONCACAF Champions League title since 1962 after outlasting Toronto in the two-legged final.
A free-kick from Alan Pulido saw Guadalajara to a 2-1 win over Toronto in the CONCACAF Champions League final first leg.
Toronto and Guadalajara will go head-to-head in the two-legged CONCACAF Champions League final following Tuesday's results.
Guadalajara will take a 1-0 lead to the United States after overcoming 10-man New York Red Bulls in the opening leg of their CONCACAF Champions League semi-final.
Jonathan Osorio produced a moment of brilliance thanks to a sensational backheel with a minute of regulation time remaining to lift Toronto.
Dallas claimed a 3-2 victory over Tauro but they failed to reach the quarter-finals on away goals – the tie ending 3-3 on aggregate.
Guadalajara drew first blood in the Dominican Republic on Thursday thanks to Jesus Sanchez and Jose Macias.
Mexican striker Alan Pulido has been sold to Guadalajara by Olympiakos, the Greek champions announced Tuesday.
- Copyright © 2014-19 Besoccer.com, Live Scores
- Play responsibly. 18+
Chivas Guadalajara - Liga MX Clausura
Follow BeSoccer on Facebook