the fact it is her residence is what allowed this. The fact she is not on the lease alters nothing.
I would suspect it was for something quite serious given the method of arrest.
I would suggest you worry about her defense. Your attempt to raise hell about this won;t get you anywhere.

