Jesse James confirmed during a custody hearing Monday that ex wife Sandra Bullock watched over his 6-year-old daughter, Sunny, while he spent time in rehab earlier this spring.
PHOTOS: Sandra and Sunny's special bond
While testifying in Orange County, Calif. against his porn star ex wife Janine Lindemulder, James said, "I talked to her [Janine] on the phone before I went to rehab in Arizona. I let her know that she [Sunny] would be staying with her stepmother in Texas."
Sunny also visited James while he was at Arizona's Sierra Tucson rehab facility shortly after admitting to an extramarital affair with Michelle "Bombshell" McGee.
Lindemulder has said she fears Sunny loves Bullock more than her. "All Sunny talks about is Sandy, Sandy! Wtf?!" she wrote in emails -- filed as court evidence -- to James' sister Julie James England.
Monday's court hearing was over James' plans to move to Austin with Sunny to be closer to Bullock and her adopted son, Louis Bardo.
PHOTOS: Look back at Sandra and Jesse's unusual romance
"Jesse would not relocate his family [Chandler, 15, Jesse Jr., and Sunny] without consulting with her," a source recently told Us Weekly of the couple, who are talking again despite finalizing their divorce in June.