De Magistris was surprised and heard the news while hearing confessions in the Cathedral of Cagliari.
De Magistris was surprised by the news while in the midst of hearing confessions at the Cathedral of Cagliari, suggesting a disruption to his routine or an unexpected event occurring during this sensitive moment.