I've been reading the Super Mario 3D Land Iwata asks, and found this comment dead interesting:
Hayashida: This game is for the Nintendo 3DS system, so I think we were able to achieve a lotlike stereoscopic 3D and StreetPass featuresthat we hadn't before for the Super Mario series. And this game features a course that is a homage to The Legend of Zelda. We tried a room that looks as if you are peeking into it from above, something never seen before in Super Mario.
Miyamoto: Seen from above, only Mario's cap would be visible! (laughs)
Iwata: Mario isn't designed, function-wise, to be seen from above. Hayashida But when we made this, Tezuka-san's reaction was incredibly positive, and we thought, "It's got to be The Legend of Zelda," and we were like, "Put it in!"
Iwata: Oh, more "Put it in! Put it in!" (laughs) Hayashida And we made candles. If you light all of them with Fire Mario, you hear that sound. Iwata Huh? It makes that sound? Hayashida Yes. (laughs)
Iwata: After all, this is the twenty-fifth anniversary of The Legend of Zelda! (laughs)
http://iwataasks.nintendo.com/interviews/#/3ds/super-mario-3d-land/1/4
I wonder if this game was born from that level? The level is cool because of how Mario jumps upwards towards the camera. Which is basically what happens in the demo we saw of Link to the Past.
Whilst also only being able to see Link's cap from above!
Would be cool if this was where the idea for this game came from!