In a move that has stunned the court , and his lawyer , Josef Fritzl has reversed his plea and admitted enslaving his daughter and murdering one of the seven children he had with her. guilt on a charge of rape .