One of our interior doors is warped, so you needed to apply pressure for the last 1/4 inch (6mm) for it to latch.

I figured I could rip out the little trim stopper pieces and reattach them in a better spot.

So I got a pneumatic brad nailer from Harbor Freight (I splurged on the $50 one) and got to work.

It worked! Now the door closes as it should.