The base entry 'base_entry' cannot be
deleted from the repository because it is referenced by a realm.
Explanation
The base entry cannot be deleted from the repository because it is
referenced by a realm. To remove the base entry from the repository
first remove the base entry from the corresponding realm.
Programmer response
Remove the base entry from the corresponding realm, then delete it from the repository.