Catalyzes diesterification of phthiocerol, phthiodiolone, and phenolphthiocerol with mycocerosic acids, the final step in the phthiocerol, phthiodiolone and phenolphthiocerol dimycocerosate esters (PDIM) synthesis. Can directly transfer the mycocerosate bound to the mycocerosic acid synthase (mas) onto the substrate alcohols. 2 a mycocerosyl-[mycocerosic acid synthase] + a phthiocerol = a dimycocerosyl phthiocerol + 2 holo-[mycocerosic acid synthase]. 2 a mycocerosyl-[mycocerosic acid synthase] + a phthiodiolone = a dimycocerosyl phthiodiolone + 2 holo-[mycocerosic acid synthase]. 2 a mycocerosyl-[mycocerosic acid synthase] + a phenolphthiocerol = a dimycocerosyl phenolphthiocerol + 2 holo-[mycocerosic acid synthase]. Monomer. Interacts directly with the acyl carrier protein (ACP) domain of the mycocerosic acid synthase (mas) protein. Consists of two structural domains that are related to each other. Belongs to the acyltransferase PapA5 family.