Yes, the letters of transit must be a fcition for the movie because I cannot imagine any such document that would entitle the bearer, any bearer, rather than a named person.
Although I do love Casablanca, I have always liked “To Have and Have Not” much better.