If Turkey beats Iceland, Turkey gets 3rd seed in Group A, the winner of this game gets 4th seed, and both advance to the next round.
If Iceland beats Turkey, however, the following scenarios apply:
If Spain wins, Germany is out, Spain gets 3rd seed, and Turkey gets 4th seed.
If Germany wins by 50+ points (lol), Spain is out, Germany gets 3rd seed, Turkey gets 4th seed.
If Germany wins by 1-49 points, Turkey is out.
If Germany wins by 1-15 points, Turkey is out, Spain gets 3rd seed, Germany gets 4th seed.
If Germany wins by 16-49 points, Turkey is out, Germany gets 3rd seed, Spain gets 4th seed.
Hope this helps.