Megan Thee Stallion has been cleared to release a remix to Korean pop band BTS’ “Butter” following a legal dispute with her record label, Variety reported.

A Harris County, Texas, judge ruled in Megan’s favor Tuesday after she requested to extend a temporary restraining order against her record label, 1501 Certified Entertainment and the company’s CEO, Carl Crawford. 

According to court documents filed Tuesday, the 26-year-old used her birth name, Megan Pete, as she submitted a petition accusing Crawford and the label of preventing her from releasing her own rendition of the track this Friday. 

“If Pete is not allowed to release a new track this Friday on which she is the featured artist in a remix with BTS of the song called, 'Butter,' her music career will suffer irreparable damage, including a devastating impact to her relationships with her fans and with other recording artists in the music industry,” the document states. “Such irreparable injury to her personal goodwill and the silencing of her artistic expression in music cannot be compensated in the way of monetary damages. As such, Pete seeks emergency relief from this Court.”

Megan had previously been in a legal battle with 1501 Entertainment after she sued the company last year when she alleged they prevented her from releasing her EP “Suga.” She still remains under contract with 1501, however, despite ongoing legal disagreements. 

In the original temporary restraining order, the Houston native referred to her contract with 1501 Entertainment as “unconscionable,” when she revealed that she was compensated only $15,000 after garnering more than 1 billion streams and selling 300,000 individual track downloads, which in total is worth an estimated $7 million. The lawsuit included her contract states the label receives ownership of her master recordings, 60% of her net recording royalties, 50% of her publishing, 30% of her revenue from merchandising, sponsorships, and endorsements and 30% of revenue from live performances as well as side artist engagements over $1,000, Billboard reported.

“The release of new music from Pete is vital to maintain her status as a relatively new but still up and coming artist,” the filing continues. “Absent immediate help from the Court, Pete’s art will be impacted, the release of the song derailed, and Pete’s goodwill, reputation, and overall career will suffer detrimental, undesirable, and irreversible harm.”

A new hearing on Megan’s restraining order has now been scheduled for Sept. 10.