The provisions of this article shall not apply to receivers, referees, administrators, executors, guardians or other persons appointed by or acting under the judgment or order of any court; or public officers while performing their official duties, or attorneys at law.
N.Y. Real Prop. Law § 442-F