You cast the copy of Emrakul, the Promised End as The Heron Moon’s last ability resolves. You do so as part of the resolution of the ability. You can’t wait to cast it later in the turn. Timing restrictions based on the card’s types are ignored.