Often the term "grand fathered" is used to describe a situation where what would be illegal is legal because it existed prior to the law being passed. And laws that benefit people are often set to apply to something that occurred in the past based on a specific date.
Aggie80