A man coerced his partner into having sex with their pet dog after he developed a 'preoccupation' with bestiality, a court has heard.