Normally when you want to remove an item you use "disable" to see if you clicked the correct object, but with some items you get the "enable state parent" error instead. You can still see if you've got the correct item by entering a "modpos" command like "modpos z 1" before you use "markfordelete."