Katherine Jackson has been reinstated as the guardian of Michael Jackson's three children. The arrangement made on Thursday by Superior Court Judge Mitchell Beckloff keeps their cousin TJ Jackson as temporary co-guardian.

Judge Beckloff said during a hearing that an investigator who looked into the children's care concluded that the late pop star's 82-year-old mother was an excellent guardian and the children love her very much.

"I think the kids are in terrific hands," the judge said. "It appears from the report that Katherine Jackson has done a wonderful job and cares about the children very much."

In addition, it was noted by Beckloff that the children, Prince, 15, Paris, 14 and Blanket, 10, also have a close relationship with their 34-year-old cousin TJ Jackson, who was named co-guardian after remaining close with Katherine Jackson and the kids since Michael Jackson died.

TJ is "incredibly respectful" of Katherine, the judge said.

According to the judge, the official arrangement will be finalized later this month. In the meantime, temporary letters of co-guardianship allowing both Jacksons to make decisions about the children's welfare will be issued.

Katherine Jackson's lawyer has said the arrangement will allow his client to focus on the children's upbringing and not on home or logistics issues, AP reports.

TJ Jackson was appointed temporary guardian in a court hearing last week after Katherine Jackson was reported missing but was later found safe at an Arizona spa with family members.

Just last week Beckloff suspended the family matriarch's guardianship duties because she had been out of contact with her grandchildren for 10 days.

The timing of the ruling coincided with a family dispute over Michael Jackson's will, which left nothing to his siblings when he died three years ago. Several of them signed a letter that was leaked to the media alleging the will was a fake and calling on executors of the estate to resign.

The dispute at one point led to a publicized driveway confrontation involving several family members at the Calabasas mansion where Katherine Jackson and the children have been living.

Later on that week, Jermaine Jackson released a statement pleading for peace in the family and withdrawing his support of the executor resignation situation.

"Mistakes have been made and irrational things have been said on both sides in a highly charged emotional environment," Jermaine Jackson said in a statemement. "It is time for us all to draw a line in the sand and move toward peace, co-operation, love and healing."

he added that his family is still grieving from the death of Michael and that Katherine is especially under an intense amount of stress and pressure.