Stefanos Tsitsipas has turned a near-Greek tragedy into a Greek treat, helping Greece survive an almighty scare from a stubborn Spain to earn a hard-fought first-up victory at the United Cup in Perth.