Here is the baptism of Henry Fenton Gardner, 6 Jan 1807 at St George Hanover Square, son of the Honble Allen Hyde Gardner & Maria Elizabeth his wife, born 8 Dec 1802:
LMA records on ancestry
So it looks as though Maria had him baptised as Alan's son in the hope of him inheriting one day, don't you think?