Citation :
If the creature card put onto the battlefield has Protection from Black (or anything that prevents this from legally being attached), this won’t be able to attach to it. Then this will go to the graveyard as a State-Based Action, causing the creature to be sacrificed.