Landlords need to update their home address with their local council’s property licensing department or risk a penalty, an appeal judge has ruled.