Despite their much-discussed nasty breakup, Justin Bieber apparently makes a surprise cameo in Selena Gomez's upcoming film, "Behaving Badly."

Formerly titled "Parental Guidance Suggested," the new movie rewinds viewers back to summer 2012, when the young couple was madly in love. It was originally scheduled for an August release in the U.S., however, the film has been prematurely released in advance in the U.K. iTunes store. One specific scene that features a cameo from Bieber recently surfaced online.

The leaked footage shows Bieber right before the camera pans over to Nat Wolff and Gomez talking to each other through a jail cell. The "Bad Day" singer then makes an appearance in total of just five seconds -- he is seen looking quite tired and fed up as he walks through a prison, escorted by a police officer, wearing an infamous orange jail uniform.

The forthcoming film certainly serves as a proof that Gomez and Bieber were once inseparable and very supportive of each other. However, the pair's split last January and a brief reunion in March unfortunately do not provide any reason to believe that they are going to get back together anytime soon.

While the "Come & Get It" singer famously unfollowed her on-and-off boyfriend on Instagram and has since been posting a series of cryptic messages suggesting their bitter breakup on social media, the Canadian pop star seems like he has already moved on. Bieber has been seen constantly partying with various models, including Yvonna Ventura and Victoria's Secret angel Barbara Palvin.

Since there is nothing she can do but just move on, Gomez has been trying her best to cope with the highly-publicized hurtful breakup by temporarily fleeing to Nepal, as well as hanging out with models Cara Delevigne and Suki Waterhouse during a recent Katy Perry concert.