The allylic chloro group in 2 was chemoselectively substituted with sodium dimethyl malonate (classically or with palladium (0) catalysis) without affecting the allylic acetoxy group, which subsequently was replaced with sodium methyl acetoacetate using palladium