You'd be surprised at how many high demons do these type of stuff. Sometimes they do it for fun. It has to be a high demon or a high spirit, otherwise it would leave. The demon/spirit would leave if it was minor.
Demons like this only are rid when they are bored. Or if you know the demons secret name. No Catholic Church knows a demons secret name. No god knows that. There are demons who are not Christian demons. As a matter of a fact the Catholics demonized gods so they appeared to be demons. Take Baal and Astaroth or Astarte for example. Anyways as I was saying there are pagan demons as well.