I loved how they posed the characters for this. The main joke was just that the twins were so delirious they were smart, but this was totally a Bioshock Infinite reference.
This actually goes even deeper than Bioshock Infinite. See, the Lutece twins themselves are actually a reference to the play Rosencrantz and Guildenstern are Dead by Tom Stoppard. (which is in turn based off of Hamlet) It’s actually confirmed on their wiki page, down to their coin tosses and the fact that it always lands heads.
In the RaGaD movie, (Directed by Stoppard himself) theres a scene almost exactly like this one with Rosencrantz
The fact that the show-writers went out of their way to reference not only a great game but also some obscure published Hamlet fanfiction makes me so happy you dont even know