John Paul was the only pope ever to visit Cuba , in 1998 , and he has been praised by Havana for what members of the Castro government saw as the church leader 's opposition to " neo-liberal capitalism . "