A shock result by the Faroe Island champions handed Shamrock Rovers a nightmare tie in the Conference League.
K-I beat Ferencvaros 3-nil in Budapest, and by the same scoreline on aggregate to progress in the Champions League.
Rovers lost 4-1 on aggregate to Ferencvaros in the Europa League playoff round last season.
Advertisement
The first leg will be in Hungary next Thursday.