Involved in the biosynthesis of caffeine. Catalyzes the conversion of 7-methylxanthine (7mX) to theobromine, and, to some extent, the conversion of paraxanthine to caffeine, but seems not able to convert theobromine to caffeine