only possible explanation I can think of is that the censors insisted all criminals must be arrested, but the director figured the audience would like those 2 criminals, so really Sam Spade was making sure they had the means to bribe the cops to get away