The appellate court ruled that entities that purchase defaulted mortgages must be licensed in the state.