Rabat - A French mayor backed by the far-right National Front has been accused of racism after using the names of school children in his town to decide how many were Muslim, AFP reported.