A promotional ad for Shia LaBeouf's new film Nymphomaniac was briefly removed from YouTube this week because it features the actor completely naked.
The racy video, which has since been restored to the site with an age restriction, features LaBeouf having sex with co-star Stacy Martin.
A spokesperson for the video-sharing website tells The Hollywood Reporter that the promo was posted back on the site once censors realised it was an official clip from the new Lars Von Trier film.
The rep says, "With the massive volume of videos on our site, sometimes we make the wrong call. When it's brought to our attention that a video has been removed mistakenly, we act quickly to reinstate it."
The video has received close to 300,000 views.
LaBeouf certainly won't be upset about the release of the clip - he sent the director a sex tape to secure his role in the production.
The actor recently told US chat show host Chelsea Handler, "I sent him videotapes of me and my girlfriend having sex and that's how I got the job."