a very brief list of things to DEFINITELY consider
luffy discovers that law has more than a few silver hairs on his head (going gray early as a result of stress) and promptly ends up sitting on law’s shoulders and trying to find every single one. somewhere in this process luffy exclaims “you’re like an old man!” and law has to forcibly defend that he’s twenty-six, damn it, that’s not old (except for how it is, for law; he wasn’t supposed to live past thirteen to begin with, and certainly he didn’t expect to survive very long after reaching dressrosa)
law has alexithymia (that is, difficulty distinguishing between different emotions in himself as well as a hard time reading those of other people), which is part of the reason he’s so often baffled by luffy’s constant outpouring of affection
there is a snail with a small spotted hat sitting perpetually in the medbay of the thousand sunny, and a snail with the world’s tiniest straw hat in the captain’s quarters of law’s submarine
yes yes! that and also his original scenario was that he dies if he loses to joker and he still dies if he wins because disease will take him down shortly thereafter
the FULL star trek reference, though, is that law faces the kobayashi maru but luffy kirks his way through it because he doesn’t believe in no-win scenarios, just like with robin he does what’s needed to convince law to live and thereby cheats the test in its entirety