The problem with working small trim pieces like you're talking about is that it's difficult to use a machine to work on these areas and trying to do so by hand requires skill and experience.
If you work by hand, then you need to be able to have enough room to move your hand back and forth with speed in a "polishing" action.
Do you have that kind of room for all the surface area of the trim with the scratches?
Or does the trim start to get around shifters, or blinker switches, or vents, etc.?
If you can use a fast, hand polishing motion, then you need good technique and after teaching people how to hand polish for years at Meguiar's using ScratchX and then after it was introduced, M105 and Ultimate Compound, I found that still... most people don't have the patience, nor skill and ability to,
Working below surface defects out of the coating and do it in such a way they they don't leave any scratches behind at the same time.
So it's kind of complicated to do and even more complicated to type about let alone teach using a keyboard.
Can you post a picture of the trim?
For example, I'm guessing this is decorative trim on your dash? If so, how about a shot of the dash, from back a ways, like the back seat etc...
Another option would be to tape-off and cover up any areas you don't want splatter and then use a tool like the Griot's 3" Mini Polisher to do the work by machine. This tool can remove swirls and scratches, but again it does take good technique because you need to maintain pad rotation and the pad won't rotate very well if you use too much pressure or not enough product.
Ultimate Compound may be required if ScratchX isn't working but just to double check, do you have "new" ScratchX that uses SMAT or the old ScratchX that uses DAT?
I have articles in my article lists on SMAT products if this is a new term to anyone...