Paul Glatzel, Harry Smith and Kabongo Tshimanga scored from the 87th minute onwards as Tranmere finished with nine men.