Let's say you have a problem with a Costa Rican. Maybe it is something simple like they are upset you called the Police after they removed furniture from your house.They are really upset because even though the Police wouldn't take a complaint, they had to move all the furniture back. What can they do?
They will see you are someone that visits Costa Rica often, and/or a resident of Costa Rica. So they tell you the problem will be resolved once and for all... they are going to have a chat with Immigration and soon you'll never in your life be able to enter Costa Rica (and if you have residency it will be a thing of the past)!
Of course, if you stop doing whatever is annoying them, they won't bother Immigration about your "bad behavior"... and you'll be free of the horrors of deportation and being barred from Costa Rica.
Now your "only" choice is to give up what you want (visiting/living in Costa Rica), some money and a bit of your sanity. Another solution might be to seek out the assistance of the U.S. Embassy, though you might find they simply recommend you leave the country for your safety!
Now, I've had a Costa Rican give me the "I'm going to Immigration" spiel... and there seemed to be no result from it. No contact from Immigration. No revocation of my residency. No deportation. I suppose the person never actually made a complaint with Immigration.
I don't suspect the Costa Rican(s) that have targeted you as a source of money really want you to be barred from the country! That would cut off the possibility of any future revenue! But surely, they want to attack you where you are most afraid.... and that would be of course your desire to enjoy the "paradise" of Costa Rica!
However, when the Immigration ploy fails, you could be subjected to stepped up pressure...