When I read the article I had two thoughts:
First people shouldn't be allowed to have preferences and exclude people in the advert.
But and then I had the other thought about the reality of what would actually happen if those types of adverts were banned.
You could end up with a situation even worse.
What you'd end up with, is people still having the same prejudices and not letting out the room or property to people who didn't fit their criteria anyway. And the person you were supposed to stopping the prejudice against would be having their time wasted, facing a potentially difficult situation and finding it harder to find somewhere that actually was suitable.
I think its much more preferable to say something like:
"Alien blue meanie family interested in gnome collecting seek housemate" and give details about yourself to attract the right person rather than be exclusionary, but tbh I'm not sure that a lot of people would be able to cope with wording things in a certain way, perhaps precisely due education or language barriers and maybe enforcing the law in this way would be discriminatory to them in someways too.
People have the right to live a home life in the way they want ultimately.
So, yeah definitely splinters on my bum over this one.