If it had to do with Joseph Biden, that’s a different thread.
Many times politicians who would cause scandal by receiving Holy Communion publicly have private Masses (although they still shouldn’t commune).
He was in Germany, it was way back in 2013, there would have been no scandal, his Mass activities as VP wouldn’t have even been covered by the US press, and his own bishop gives him Communion at his own parish church when we’re not having COVID.
I happen to live a short ways away from his parish church in question. I used to attend their noon weekday Mass fairly regularly (they have discontinued that Mass due to COVID so I haven’t been since early this year). The Bidens are not exactly sneaking around under a bushel basket for fear of causing scandal.
It’s more likely that there would have been security issues with letting Joe and his nearest and dearest make an unscheduled stop at a Catholic church. When the VP travels even within US, it typically requires that a team of the Secret Service come and sweep everyplace he’s going to be well in advance of the visit.