If there’s any record of him subleasing (like a pattern of monthly rent payments), most of the protections will apply. The roommate on the lease can’t legally force the subleaser out without the TAL hearing either. If they didn’t ask for permission to sublease, the roommate might have a problem with the landlord depending on the terms of the lease, but the tenant protections apply to anyone who’s renting living space.