I don't know about legal versus illegal but it is certainly not ethical for the realtor to do so. I would contact the realtor's main office and file a complaint.
Consumers can use this platform to pose legal questions to real lawyers and receive free insights.
Participating legal professionals get the opportunity to speak directly with people who may need their services, as well as enhance their standing in the Lawyers.com community.