3-Family Woodframe?

I am buying a 3 story 2 family building. it has 3 completely separated apartments- each on its on floor. it was built like this 80 years ago. I wanted to find out how to convert the cfo to a 3 fam but I saw in the forum that ppl said that it cannot be done to a wood frame. Now, my question is this- if I rent out the second floor apartment, with a lease which indicates that it is a sublet of bedrooms is it still illegal? on what basis I am not allowed to sublet the second floor apartment?
If the city looks at the 1st and 2nd floors as a duplex- even though it was never as such. then why can’t I sublet bedrooms? If I would have bought a 4 bedroom, 2 bath, condo duplex and wanted to rent out to roommates my two other bedrooms it would have been illegal???

Thanks

By Williams |