You are technically ghosting at that point. Using the database system to give yourself an advantage. Also using it to get someone elses stuff seized would be considered an exploit as well because you didnt make entry in a legitimate way. Now, if you happened to make it into their house through the unlocked door(s) and they locked you inside then fair game, because you walked through the door. But ghosting in is a no no.
That is considered a lesson in gravity Yes it is ok. At that point you are at their mercy and you should try to RP to have them spare your life.