Can't delete reference layer

Well, I just opened an old file of mine in Rhino 7 and discovered a whole bunch of reference layers in it, very similar to what’s been screenshotted above.

I have a script from this site that moves all block definitions to a layer, and when I try to run it on what I suspect are the offending objects, I get the following:

image

So, time for me to ask the now 4 year old question, how do I get rid of these “reference layers” (and when will we get an improved object/block manager)? :stuck_out_tongue: