Just for fun, apparently. The game happened in a sports centre in the Karelian isthmus. From what I was able to gather, the team the two presidents played in comprised of some Russian diginitaries and they were opposed by a local veteran team.
The game (which only lasted for a period) ended in a 4-4 tie. Niinistö played as a centre (with Putin on his wing) and was picked afterwards as the man of the match. Seems like all that roller skating has done you some good, Sale.