An Austrian court says Josef Fritzl, who held his daughter captive for 24 years and raped her thousands of times, can be moved out of psychiatric detention.