text: Any effects that say the creature can't attack affect only the declaration of attackers. They won't stop the creature from entering the battlefield attacking. For example, you could put a creature card with defender onto the battlefield tapped and attacking this way.