During this Scenario:
When you play a blessing that has the Iomedae trait, you may put it on top of another character’s deck instead of discarding it. When you play any other blessing and it does not have the Corrupted trait, banish it and replace it with a random blessing that has the Corrupted trait from the box.
Does the replacement happen before the effect, and then have to choose an effect of the Corrupted blessing?
If the effect of the original blessing is the one that goes off, is it still treated as though the Corrupted blessing was played?
I ask because it says "when, instead of after", and changes the difficulty of this scenario drastically when they are used during Corrupted blessing turns.