When forwarding the GnuPG agent to a remote system running systemd over SSH, the /run/user/$UID/gnupg directory does not exist before SSH attempts to place a socket in it, causing agent forwarding to fail.
This systemd user service runs gpgconf --create-socketdir on login, allowing agent forwarding to work successfully.