Yeah, Mew should transfer successfully. But I'm not sure if Mew would be able to make it through PokeBank, as PokeBank can sense some hacked Pokemon (and I'm not sure how far this can extend, but I highly doubt it would sense a hacked Pokemon from gen 3, much less a Pokemon gained from hacking the Old Sea Map).