Most commonly, to strip the identifying traces of copyrighted characters or settings from fan-written material so it can be sold as the author's own original fiction.
My cousin spent the whole weekend trying to file off the serial numbers on his dragon-romance fanfic, renaming every character so the agent wouldn't spot where it came from.