A woman was browsing a CD, supposedly containing photographs, when she suddenly came across a video clip of her former boyfriend performing sexual acts with an underage girl, a magistrate heard.
She reported him to the police and Christopher Buttigieg, 25, from Żabbar, was charged with shooting or permitting the shooting of the video recording, defiling a 17-year-old girl, performing sexual acts with the girl and offending public morals.
He was also charged with threatening his former girlfriend following the discovery of the video clip.
Mr Buttigieg pleaded not guilty. He was granted bail by Magistrate Silvio Meli against a personal guarantee of €10,000.
Police Inspector Graziella Muscat prosecuted.
Lawyer Chris Cardona appeared for the accused.