Finland continued their UEFA Euro 2020 preparations with a friendly win away to Sweden, but came away with a defeat.