601.3a If an effect prohibits a player from casting a spell with certain qualities, that player may consider any choices to be made during that spell’s proposal that may cause those qualities to change. If any such choices could cause that effect to no longer prohibit that player from casting that spell, the player may begin to cast the spell, ignoring the effect.
Example: A player controls Void Winnower, which reads in part, “Your opponents can't cast spells with even converted mana costs.” That player’s opponent may begin to cast Rolling Thunder, a card whose mana cost is {X}{R}{R}, because the chosen value of X may cause the spell’s converted mana cost to become odd.
Now you only look at information about the spell that changes while casting, not at information in general. You only get to ignore a “can't cast” if info about the spell can change while proposing it.