Assuming the Thunderbolt 3 device has a type-C female on it, you could simply plug the TB3 connector on the dongle into the device, and use a TB2 male to male cable to connect it to the laptop.
I could never possibly come up with using a dongle that way, but you are right it can indeed fit when used like that at the device.