Was it that same pope who gave the captured Islamic flag back to Istanbul/ Turkey? Or I think perhaps Pope John Paul II?
Pope Paul VI
The Ottoman navy was defeated in the Battle of Lepanto and the Holy League took the banner. The flag was kept at the Vatican until Pope Paul VI presented it to Turkey in 1964.
I’m not sure what you mean; Paul VI was pope in 1965 when Greece and Turkey were fighting over Cyprus - so he returned to Turkey some flags won in the battle of Lepanto centuries earlier (against Ottoman Turkey).
I’d suspect JPII would have been more involved with Arabs than Turks; don’t know.