How to handle dangling references to deleted records

This is not feasible if the table is provided by another App.