I also got trapped in this situation last week. A warning dialog will be build in, when you try to rename/delete a global.