I’m not sure I understand why they are both incorrect. “Their”, there, sounds awfully formal. What would be the informal equivalent?
Is the use of “them” incorrect here?
"We didn’t like them coming in the police station, they used to come into our parade room where our men were having food, and you can imagine them coming in a bit lousy and so on. "
Should it be “We didn’t like their coming in the police station”?
Why am I suddenly imagining something? You started out by giving a couple of sentences containing the word “them” where “their” should be used. Those sentences are the context. You’re acting as if you’d never posted the sentences and that I was hallucinating.
I know that the object case is often used before the gerund in the middle of a sentence (We apprecate you coming so quickly). In fact, it’s used so often that some people do consider to “overly formal” these days to use the possessive. However, at the beginning of a sentence like that, I’d go with the possessive without hesitation.