Tunisia and DR Congo both qualified for the Africa Cup of Nations quarter-finals after they drew in Bata.
A point apiece gave Tunisia top spot in Group B and DR Congo second place.
Tunisia spurned two excellent early chances before they struck on the half-hour, Ahmed Akaichi stretching to head in Yassine Chikhaoui’s deflected shot.
Wahbi Khazri should have made it 2-0 but blazed over, and DR Congo snatched their place in the last eight when Jeremy Bokila side-footed in.
Bokila’s strike changed DR Congo’s fortunes completely; the draw put them level on points with Cape Verde, who were held 0-0 by Zambia, and put his side through by virtue of having scored one more goal than the Blue Sharks.
Until the substitute’s intervention they had been heading out of the tournament having woefully under-performed for an hour.
They go though after three group draws – which sets a record of six stalemates from their last six Nations Cup finals matches – having scored only two goals, and it is unlikely they will have struck fear into the hearts of quarter-finals opponents Congo.