If solar panels on our building‘s roof are serving another building‘s energy needs, can we still exclude these solar panels from calculations as mechanical equipment?

I.e., our building will have no renewables, but has „rented“ the roof space to a neighbour building. Is this OK in regard to SSc7.2?

Thanks!