Bumped into them? Say excuse me and keep walking.
Walked in on them? Turn around and leave...unless it was my wrong then I'd walk right in and expect them to stop their nasty behavior in my room.
What would you do if you woke speaking another language?
anata wa wakarimasu ka.....