If a undead or demonspawn player attempts to wield an unIDed randart weapon of holy wrath, they will get a message saying that they can't wield it and the weapon will be inscribed {holy}. However, the weapon is not marked as useless as it should be.