Any type of fanfiction of copyrighted work isn’t allowed. Fanfiction on Episode
Things like fairytales and other things like the character Dracula fall under free public domain are allowed.
Yes they had permission. Episode doesn’t allow fanfic because they could be sued for it and a legal case can occur.