Rxa7# is also possible here.
I can assure you that Rxa7# (or, in the puzzle, b7#) is preferable to e4.