What's the best way to ensure referential integrity on a replicated database?
Replicated data (articles) maintain the same data and schema across the subscribers as that on the publisher. In the case of transactional replication, the data changes are applied within the same transactional boundaries as those happening at the publisher. 

In short, the referential integrity will be maintained.