it's been stated by the writers/directors that he was acting of his own will, Sephiroth was Sephiroth. However, in the end he was accomplishing Jenova's goals.