There was a result in the UK Supreme Court which, thankfully, clarified the position for long leaseholders who sublet their property, specifically their repair obligations for areas OUTSIDE of their flat under their own tenancy agreement.
A bit confusing but have a read of the article here & it’ll all make sense and all buy-to-let landlords can breathe a sigh of relief!