Acid catalyzed, base catalyzed... every procedure is having the restriction of presence of water. So how could fatty acids present in waste water can be estimated through esterification and subsequent FAME analysis using non polar column for Gas chromatography.