Rangers progressed to a Champions League play-off with Club Brugge, but only after riding their luck against a dominant Viktoria Plzen side in the Czech Republic.
Lyall Cameron's second-half equaliser ultimately proved decisive for Russell Martin's team, who went behind on the night and conceded again later on during a chastening evening in which Plzen spurned numerous chances.
Having come through a tough test against Panathinaikos in the previous round, Rangers' three-goal first-leg cushion always seemed likely to be enough to secure a safe passage here.
But, against a side that appeared a level below the Greeks, this proved far more difficult than it might have for the Scottish side.
Head coach Martin told BBC Scotland progressing to the next round "is the only good thing to really focus on".
"There were some good moments, but I'm disappointed with the number of shots and chances they have and most of it's self-inflicted," he said. "We have a lot to work on, but we're through."
Quality was in short supply from both teams in the opening 30 minutes, but the need to take the initiative was all on the hosts, and they finally responded.