Those hotel encounters with the police were definitely interesting. I was totally confused the first time it happened. I was sleeping with ear plugs inserted, so I guess I didn't notice the first few times they banged on my door. Then they got serious. There were two large hinged windows beside the door, and the police swung those windows up and then tried to stick their arms through the bars. They pushed the curtains aside with their fingers and swung their flashlights all around the room and started shouting. This woke me up, but I was still half asleep and stumbling around inside my mosquito net and trying to figure out what was going on. It took me some time to get dressed and make my way to the door and open it. By then, half the local police force appeared to have assembled there. I'm not sure who was more stunned - me or them.
I didn't really know what was going on until much later. None of the police on these raids spoke English, and no one at the hotel did either. The hotel staff certainly never made an appearance or offered to intercede. I think they just kept their heads down and let the police do their thing. I just happened to know a detective on the local force (from when I reported having my smartphone stolen), and she explained how the police were making sure that couples in these hotels were married.
I'm not sure if just these hotels were targeted specifically or if the police went to all the hotels on a schedule or something. There was nothing particularly unsavory about the hotels I was in. They were on the low-budget end of things but still quite nice, I thought. At least I knew what was going on after the first time it happened. The other times, I could hang back a bit and just enjoy all the activity. The hotels appeared to be cleared out and empty after these raids except for me. People were either loaded onto the trucks and taken to the police station or went to other hotels. It was all very strange.
The other times I had the most encounters with the police were in coastal towns like Tanjungbalai. I had actually arrived in Tanjungbalai by ferry, and my luggage was torn apart and searched carefully. To do this, they took me to a private room and they asked me tons of questions and even went through my smartphone looking at the pictures I had taken and that sort of thing. As far as I could tell, they were looking for proof that I was the tourist I claimed to be. They wanted to see the selfies and photos of tourist sites that a true tourist would take. Luckily, I had a fair number of those from Malaysia.
I spoke to the police a number of times after that, and I learned that there was a lot of smuggling by boat on this coast between Sumatra and Malaysia (smuggling of goods and illegal workers). And so they were quite alert to anything out of the ordinary. And I guess I fit that bill everywhere I went.
No, my extension was at the immigration office in Siantar, not Medan. The moment they handed me the payment form to take to the bank, I knew there would be trouble. I asked the immigration officers if I would need my passport at the bank, and they assured me that I wouldn't. I doubted that, and, of course, the first thing they wanted at the bank was my passport.