We can also note that Umberto does not seem to have been entirely aware of his bias. Uhura had to point it out to him.
I, myself, had a little problem with Umberto's logic:
So, yes, Starfleet was transporting a weapon for a non-Starfleet member. That world was at war, fighting the Kasar...