@judging how ryou has no memories of the picture or anything about being a demon as a child I doubt the later is possible(also because nobody questioned how a girl mysteriously turned into a boy), the former however makes slightly sense but again ryou has no memories of the picture, so...