A pensioner supplied vulnerable young women with heroin in exchange for them working as prostitutes as part of a “catalogue of offending”, a court has heard.