Children’s Hospital Oakland reached an agreement with the family of Jahi McMath on Friday that will allow a critical care team to enter the hospital to move the girl to an unspecified facility.

The agreement, described in the courtroom of Alameda County Superior Court Judge Evelio Grillo, is the latest development in an unusual battle between the hospital and the girl’s family, who rejected the hospital’s declaration that Jahi was dead after doctors determined that she was brain dead.

Jahi can be moved while remaining on a ventilator.

…Christopher Dolan, attorney for Jahi’s family, said the agreement removes the barriers the family had faced in taking the girl out of the hospital. The hospital had been saying it would allow the girl to be transferred to another facility but had not heard from any such facility. Now, under the agreement, the hospital will simply allow workers to enter and remove Jahi.

Dolan said he would not discuss details about where or when Jahi will be moved.

“Right now, arrangements are being made, and what we needed to know was that when all the balls were in line, that we could move quickly, and not to have impediments, so that we all understood what the protocol was,” Dolan said outside court. “So this is a victory in terms of getting us one step closer.”