Father fights in court to save kids' treehouse