(I seem to remember a recent case of the third type, where someone took money from someone else in order to use a LEO or similar discount when purchasing the firearm. Both people were lawfully able to possess firearms, but the feds prosecuted it as an unlawful straw purchase - and won a conviction.)
That's the Abramski Supreme Court decision I referenced above.