Justin Bieber got the shock of his life when a strange woman suddenly barged into the singer's Laguna Beach, California, hotel room Tuesday.

The Laguna Beach Police Department tweeted about the incident after it was reported by TMZ.

"Ok, here is a lesson on how to not get arrested. DO NOT party at night and into the next day till you get kicked out of a five star hotel," Sgt. Jim Cota, a Laguna Beach Police Department public information officer, tweeted Tuesday. "When you do get kicked out, DO NOT come right back again and 'accidentally' walk into Justin Bieber’s room with him still inside. #thebiebs."

The police department also retweeted the officer's post.

An unidentified woman had been partying and wandering around the hotel earlier in the day, and had already once been escorted off the property by security, according to TMZ.

Bieber has been making headlines recently, in addition to this hotel scare.

The singer, who married model Hailey Baldwin late last year, took to Instagram Monday to announce that he was taking a break from music to repair "some of the deep-rooted issues that I have as most of us have, so that I don’t fall apart, so that I can sustain my marriage and be the father I want to be.”

That post came after he had asked fans to pray for him.

The singer also recently hit back at “immature” online trolls who question the strength of his marriage to Baldwin.

He penned a long response to one Instagrammer who implied he is still in love with his ex, Selena Gomez.

“I absolutely loved and love Selena she will always hold a place in my heart,” the singer wrote. “But I am head over heals [sic] in love with my wife and she is absolutely the BEST THING that has ever happened to me period.”