When charity ends up in court