@Brandon Campbell, yes I'm in northeast Pennsylvania. In my state squatters similarly gain rights as you stated, BUT it isn't that unreasonable to deal with them. I'll share another story I had with an actual squatter:
Several years ago I bought a house through the tail end of the tax sale process for $500 (yes, really). It is a raised ranch and it had a good looking roof. I bought it specifically to use the garage as storage. I didn't even care the condition of the house itself.
The process to purchase through this last step of the tax sale process (repository list) took several months to complete. During that time I would occasionally drive by the property but it always appeared to be vacant.
When I finally got the deed, I went to break into it and secure it for myself. I went up to the house's back door and I found there was an easily accessible window I was able to pry open without causing damage. I poked my head in and found myself staring at the back of a small flat screen TV in a bedroom and when I looked further into the house, it looked "clean", in fact TOO CLEAN. It looked occupied!!!
So, I backed myself out of there without actually entering the house. I went to the nearest neighbor and introduced myself and inquired about my house. I was told that yes someone lives there and tells people he owns it even though the neighbor knew that wasn't true.
So, I went home and regrouped. I consulted with my real estate attorney and was advised of a strategy to handle ousting the squatter. The approach they recommended was to make that squatter a defacto tenant and then to evict them for nonpayment. I guess this eliminates any messy arguments anyone could make during an ejectment (evicting a squatter) proceeding and makes the process more cookie cutter to handle.
Anyways, I stopped by the property a few times until I could catch the squatter at home. I spoke to them and explained the situation. They were agreeable about leaving, but to protect my interest as the lawyer suggested I gave the squatter a letter notifying them that I had purchased the property as of a certain date and that market rent of $XXX was due. I told them if they left I would not take any action about the rent, but if they didn't I would use that as cause to evict.
The squatter was pretty reasonable about leaving. It took them a few weeks longer than they originally agreed to, but I was flexible because they were making an honest effort. They offered to give me a key prior to them leaving but I refused because I didn't want there to be any misunderstandings if they thought something went missing. I told them this is YOUR place until you are out and then it becomes MY place clean and simple.
Eventually, he did leave. He had been living there several years with no water, a small generator he ran under the back porch with a long extension cord for a little electricity, and only a propane heater in the living room like a camp fire for heat.
He endured those conditions but STRANGELY who shows up to help him move?!? His WIFE and adult son! How terrible must your home life be to squat in those conditions rather than live with your wife. So, sadly I think I ruined his life and he was forced to move back in with his wife! lol
I also learned the back story about how he came to squat there and how the house ended up as a tax sale property. The squatter was originally a TENANT! The owner lived next door in a large building with an old storefront space and large apartment. He committed suicide (shot himself in the head) leaving behind 197 cats in the building next door.
The owners wife I found out ended up in a mental institution and apparently nobody took control of the estate so the properties went to tax sale. The tenant never moved out and just became a squatter for several years until I purchased the property.