I’m probably wrong about this but IIRC the zoning las that specify max number of people factor in whether the occupants are related or just roommates. I read this in context of anti-mini dorms regulations for the SDSU area.
If the are related/family you’ll have less recourse.