The man was one of 14 Ukrainians and two Belarusians who were detained in Poland in 2023 on charges of cooperating with Russian intelligence.