Justin Bieber performs “Love Yourself” and “Company” during the iHeartRadio Music Awards at The Forum on Sunday, April 3, 2016, in Inglewood, Calif. (Photo by Chris Pizzellol/Invision/AP)

Justin Bieber performs “Love Yourself” and “Company” during the iHeartRadio Music Awards at The Forum on Sunday, April 3, 2016, in Inglewood, Calif. (Photo by Chris Pizzellol/Invision/AP)

Justin Bieber had a run-in with Texas law enforcement over the weekend. 

But don't worry, nobody is in trouble. While out shopping before a sold-out show in Houston on Saturday, the pop star invited a Houston police officer to join an impromptu dance party. 

Bieber and his crew were were accompanied to the Galleria by Houston police officer D. Moore.  When the group broke out in a dance in a hat shop, their moves were caught on video by Prison Break Tattoos.

HPD Officer Moore shows off his dancing skills with Justin Bieber. As an HPD officer, you never know who you'll meet!Thank you to Prison Break Tattoos for the video.

Posted by Houston Police Department on Saturday, April 9, 2016

"HPD Officer Moore shows off his dancing skills with Justin Bieber," the Houston Police Department wrote on Facebook. "As an HPD officer, you never know who you'll meet! Thank you to Prison Break Tattoos for the video."

Toward the end of the video Moore, who it turns out is a Bieber super fan, is invited to join in the dance party. 

Justin Bieber taps Dallas' Post Malone for world tour

Moore told KENS-TV that he thought to himself "it's now or never," when Bieber called on him to join. 

Onlooking shoppers went wild.

After spending the day with Bieber, Moore and his wife, Terhea Moore, spent the night at the pop star's concert. 

They told KENS-TV that they hope the viral video will help the public's view of the police. 

"We are human," Moore told the Houston television station. 

"We smile, we have fun, we have families. So that's a good thing people took away from it."

What's Happening on GuideLive