The Vatican said he was participating in the celebration with other priests in the 10th-floor papal apartment in the Gemelli hospital