Preheat the oven to 325°F (165°C).
Add the cornflakes to a large bowl. Crush them by hand until mostly broken up, with some small to medium pieces remaining. Stir in the chopped peanuts.
In a medium saucepan, add the butter, brown sugar, granulated sugar, water, and salt and place over medium heat. Stir frequently until the butter melts and the mixture comes to a simmer. Once the mixture is bubbling, cook for about 2 minutes, then remove from the heat.
Stir in the peanut butter and vanilla extract until completely smooth. Measure ¾ cup of the warm peanut butter mixture into a liquid measuring cup (set the rest aside for the Peanut Butter Sauce below). Pour it over the cornflakes and peanuts, tossing to coat evenly.
Transfer the mixture to a 9-inch pie plate. Using the flat bottom of a measuring cup or glass, press firmly to compact the crust tightly against the bottom and sides of the pan. Bake for 12–13 minutes, until the crust is set and lightly golden. Let cool completely.
While the remaining peanut butter mixture is still warm, thoroughly whisk in 2 tbsp of heavy cream until the sauce is silky, smooth, and completely emulsified. Set aside until the crust has cooled.
Once the crust is cool, pour the sauce into the bottom of the crust, spreading it into an even layer. Refrigerate until the sauce is set and the vanilla diplomat is ready.
In a small bowl, sprinkle the gelatin over the cold water. Let stand for 5–10 minutes to bloom.
In a medium heatproof bowl, whisk together the egg, egg yolks, granulated sugar, cornstarch, and salt until completely smooth. Heat the milk in a medium saucepan over medium heat until steaming but not boiling.
Slowly pour a couple ladles of the hot milk into the egg mixture while whisking constantly. Pour the mixture back into the saucepan. Cook over medium heat, whisking constantly, until it thickens to a pudding-like consistency and begins to bubble.
Remove from the heat. Immediately whisk in the bloomed gelatin until completely dissolved. Whisk in the butter and vanilla bean paste until smooth.
Pour the pastry cream through a fine-mesh sieve into a large, clean bowl, using a spatula to press it through. Press plastic wrap directly against the surface to prevent a skin from forming. Refrigerate until completely cool, about 45 minutes to 1 hour.
After chilling, re-whisk the pastry cream until smooth and creamy. In a stand mixer fitted with the whisk attachment or with an electric hand mixer, whip the cold heavy cream to medium peaks. Whisk the whipped cream into the pastry cream in two additions until smooth, light, and evenly incorporated.
Slice 2 bananas into approximately ¼-inch-thick coins. Reserve the remaining bananas for topping the pie just before serving to prevent browning.
Arrange half of the banana coins in an even layer over the peanut butter sauce. Spread half of the vanilla diplomat cream over the bananas, smoothing the top with an offset spatula.
Arrange the remaining banana slices in a second even layer. Top with the remaining diplomat cream and smooth the top. Refrigerate for at least 2 hours or overnight.
Just before serving, top with the reserved sliced bananas and additional whipped cream, if desired. Serve cold.
