I know this question seems a bit absurd, so let me preface this by saying that it stems from a 1994 history-based edutainment game titled Mario's Time Machine in which the main character travels back in time to various historical periods. While it's obviously not the most reliable source, it is supposed to be an educational game, and I've yet to see the game get something completely and utterly incorrect (though it occasionally mixes up when certain events happened for the purposes of relaying information to the player).
This is an in-game image of the character who claims to be the King of England (without providing a name), as well as the relevant line of dialogue below. This is the full script between the main character and the self-purported king. To sum up the script, he is in attendance of one of Michael Faraday's Christmas lectures, and he makes special note of the fact that it's for "juveniles", indicating he is some sort of youth (at the bare minimum, I would consider that to be someone younger than 19, which is probably too generous). He also idolizes Faraday to the point where he is more interested in being a scientist than the king. As the player can only travel back in time to 1831, this year is certain. These all seem like really specific details that would easily narrow down the king's identity, but I've come up with nothing.
The then-reigning king at the time was William IV of the United Kingdom, who took the throne when he was 64 in 1830. His brothers include George IV of the United Kingdom, who was the previous king until he died in 1830, and Ernest Augustus, King of Hanover, who was born in 1771 and thus far too old. The same story goes for all of the children of George III of the United Kingdom (William IV's father): either they had already passed away or they were too old to apply. Even William IV's children would be just too old to qualify. The royal family trees that I've looked at have given me no help.
If I attacked this issue from the opposite direction and looked at any kings or heirs around this time period who were connected to Michael Faraday or science in general. I've thrown every combination of "king", "england", "science" and "faraday" into Google and hoping for the best, and I cannot find anything that's relevant to what I'm looking for, let alone anything that directly answers my question.
Ignoring the time-traveling premise, this game is supposed to help its players learn about history. Either it somehow got this fact completely wrong or it intentionally lied, and both possibilities seem rather odd. At this point, I'm morbidly curious about this more so than anything else. Is there a kernel of truth anywhere to this?