Facebook sex deception designed to 'teach a lesson', accused says