Lets not make the OP too nervous. He will still have options either way it goes and the restraining order can't be used against him if the evidence shows otherwise.
( quote from link )
The section 3044 presumption, however, does not change the best interest test, nor supplant other Family Code provisions governing custody proceedings. This presumption may be overcome by a preponderance of the evidence showing that it is in the child's best interest to grant joint or sole custody to the offending parent. (§ 3044, subd. (b)(1).) Nor does the statute establish a presumption for or against joint custody; again, the paramount factor is the child's health, safety and welfare. (§§ 3020, subd. (a); 3040, subd. (b).) And where the section 3044 presumption has been rebutted, there is no statutory bar against an award of joint or sole custody to a parent who was the subject of the order.
( end quote )
reference link:
http://www.courtinfo.ca.gov/opinions...ts/G041642.DOC