Because you're (technically) playing as Thomas in this video, I can safely say that every single time you got "Mario Karted" (especially at the end of the Mario Circuit and Wario's Gold Mine race) can be seen as a representation of what Thomas Wood and Big World Big Adventures is doing to the Thomas Franchise.
Thomas & The Magic Railroad 2 Race Game: N64 Mario Raceway Thomas & The Magic Railroad 2 Race Game: WII Luigi Circuit Thomas & The Magic Railroad 2 Race Game: GCN Mario Circuit Thomas & The Magic Railroad 2 Race Game: GCN Peach Beach Thomas & The Magic Railroad 2 Race Game: WII Wario's Gold Mine