Ah ok. Funnily enough, I managed to sequence break that specific EX stage by using i-frames, where I was able to get to the EX stage without the pencil since the respawn point was close enough to that exit
You don't necessarily need to own a pen to enter the ex stage, but on rare occasions you might get lucky and take a shortcut.
I see, I looked into i-frames.