A California judge has cleared the way for the sale of a convent by the Los Angeles archdiocese to entertainer Katy Perry.

Judge Stephanie Bowick ruled that a previous sale of the property, by community of women religious who once lived there, had been invalid because it did not have the written approval of the archdiocese. The Sisters of the Immaculate Heart of Mary, who have vacated the property, have sought to block the sale to Katy Perry, because they wish to control the proceeds from the sale and because they disapprove of Perry’s public activities.