I see this line in "liberal" countries and find it hypocritical.
Part of being liberal is the freedom to adopt any legal practices that makes you happy. If "liberal" countries think XYZ practices are backward or oppressive, make it illegal and file cases against people violating it.
Asking others to follow unwritten rules isn't fair.
Many liberals are unhappy that immigrants haven't integrated and by this, they want immigrants to adopt language, dress, food and religion(mainly Atheism) of the majority. It is hard to make these things illegal and still call yourself as a liberal.