Court denies girl’s custody to father