Kindness is not strictly speaking always supposed to be legal -- it can be considered kind to aid someone in escaping from prison but it's not legal and I think most would agree that it's wrong/immoral/unethical.
Her defence against the legal trouble is that she did not know about the legal requirement; this is not a valid defence in the eyes of the law and have time upon time be struck down in Danish courts.