I'm about to buy a cordless Dewalt nail gun. I remember reading somewhere that you can install crown molding or baseboard over plaster by shooting a nail directly through the wall plaster into the wood lath. Has anyone tried this?

My one experience with trying to install crown molding over plaster was with a regular hammer and nails, and all my nails just bent.

I know drilling holes is an option, but I'd rather fire a few nails and be done with it. This Dewalt takes 16 gauge brads from 1.25" to 2.5".