St Peter's Basilica had extended its opening hours to accommodate large crowds gathered outside.