The 37-year-old singer will be by her mother Lynne Spears' side as she tries to obtain the Toxic singer's medical files and treatment plan, according to TMZ.

The site added that Lynne does not want to become her daughter's co-conservator. Britney's father Jamie has been the star's sole conservator for the past 11 years.

But she does want to look at the medical records because her daughter is allegedly 'not doing well.' A conservator is the only person who can look at those records.

On her way to court: Britney Spears will appear in court in Los Angeles on Friday. The singer will be by her mother Lynne Spears' side as she tries to obtain the Toxic singer's medical files and treatment plan, according to TMZ. Seen with her parents in 2001

'Lynne does not want to become a co-conservator, which creates a weird legal argument ... the right to medical information but no right to act on it,' a source told the site.

Britney and Lynne were estranged for almost 15 years, but they have grown closer recently.

Share this article

This week Lynne has been staying at Britney's Thousand Oaks, California mansion.

Britney cut Lynne out of her life right after her breakup with Justin Timberlake, claimed a source.

Britney and Justin split in 2002 after three years together; he went on to date Cameron Diaz and is now married to Jessica Biel.

'Britney is making bad decisions and it's a problem': The Mississippi-born matriarch wants to step in and manage the 'dire' situation since Britney's conservator father Jamie (L, pictured in 2015) is too ill

'Over the last few months, Lynne has tried to reestablish a relationship,' the TMZ source added.

Earlier it was claimed that her mother was worried about Britney when reading online that she was forced to take certain drugs when at a mental health facility for 30 days.

Britney is siding with her mother in court because she reportedly 'she wants freedom.' And it has been claimed that she is hoping her mother will 'ease the restrictions.'

It has been reported many times that Britney is in bad shape and that her 'judgment is impaired' because her medications are still not working right.

In better days: Jamie and Lynne holding hands in 2012 when an LA judge dismissed Sam Lufti's case against them

She has reportedly been diagnosed as bi-polar and according to webmd.com, finding the right balance of medications is tricky. It was added the formula has to be changed every few years. This is called maintenance therapy.