In this paper we give a detailed proof of a theorem of Aubin, namely (J Funct Anal 240:269-289, 2006, Theoreme 5).