His actions were protected by law as long as it was for the purpose of prolonging the last name.
His actions were protected by law. Basically it does not count as cheating as long as it was for the purpose of prolonging the last name.