St. Peter’s was/is also a graveyard (marterium) but that does not preclude it from being other things as well eg. church, pilgrimage destination etc. I would go so far as to say that most sacred architecture is multi-purpose.
Good read in this regard is Lindsey Jones’ Huermeneutics of Sacred Architecture.
The “scientists” studying these sites haven’t been to church, well, perhaps ever.