Turkey has condemned the move, which follows Austrian plans to prohibit girls in nurseries and primary schools from wear headscarves, as racist and anti-Islam.