The answer lies in how you determine what a "Wario game" is.
If you go by it just having Wario in it, it'd a Wario game. If it's a game that just has Wario but really he's just a small link in the bridge to make Mario be the star, then it's a Mario game.