Rex USA 1 / 5

The battle is over ... and Katy Perry can roar victoriously!

On April 13, a judge in Los Angeles ruled that Katy Perry would be victorious in the battle over land between herself and a group of nuns.

Though the story seems to lend itself to a great setup for a joke, Katy Perry really went head-to-head against a group of nuns that once lived in the convent she was looking to purchase.

The convent in question was home to the California Institute of the Sisters of the Most Holy and Immaculate Heart of the Blessed Virgin Mary for 40 years. It sits on eight acres, behind gates on a hill, located in the Los Angeles community of Los Feliz.

The sisters of the Immaculate Heart of Mary contended that they had the legal right to sell the property, and were in negotiations to sell to a successful restaurateur named Dana Hollister for $15.5 million. They claimed that the convent belonged to their order's nonprofit institute.

The Los Angeles Archdiocese then got involved by trying to stop that sale, and claimed that the church had the right to sell the property, not the nuns. The Los Angeles Archdiocese had an agreement to sell the property to Katy, for $14.5 million in cash, and asserted that the nun's attempt to sell to Dana was unauthorized.

Making things more complicated, the attorney representing the Los Angeles Archdiocese claimed that the Archbishop Jose Gomez actually retained the right to control the nun's nonprofit institute, and that the nuns would have had to gain the approval of Jose in order to sell to Dana.

With today's decision, Katy is clear to purchase the property. The judge ruled the nun's sale to Dana as invalid, and with that put an end to the real-estate drama.

Aside from attempting to assert their legal right to the property, the nuns also had a problem with allowing Katy in particular to take over. Sister Catherine Rose Holzman told Billboard in October 2015, "Katy Perry represents everything we don't believe in. It would be a sin to sell to her."

Unfortunately for the nuns, it looks like Katy will be taking residence in their former home soon.