If the creature targeted by Dark Favor is an illegal target when Dark Favor tries to resolve, Dark Favor won’t resolve. It won’t enter the battlefield and its enters-the-battlefield ability won’t trigger.