Hi Kathleen,
We have actually written an article on the process around these Referential Integrity errors:
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS44609
Gary is right though it does take a bit of effort.
Hope this article helps you.
Thanks,
Jarrett