As far as I can see the non-discrimination law only appertains to employment, I can see nothing about discrimination regarding entering a country.
http://fra.europa.eu/sites/default/files/fra_uploads/1510-FRA-CASE-LAW-HANDBOOK_EN.pdf
Handbook on European non-discrimination law
14
development through the free movement of goods, capital, people and services.
In order to allow for a level playing field between the Member States, the original
Treaty Establishing the European Economic Community (1957) contained a provision
prohibiting discrimination on the basis of sex in the context of employment. This
would prevent Member States gaining a competitive advantage over each other
by offering lower rates of pay or less favourable conditions of work to women.
Although this body of law evolved considerably to include areas such as pensions,
pregnancy and statutory social security regimes, until 2000 non-discrimination law
in the EU applied only to the context of employment and social security, and only
covered the ground of sex.
During the 1990s, significant lobbying was carried out by public interest groups
calling for the prohibition on discrimination to be extended in EU law to cover other
areas such as race and ethnicity, as well as sexual orientation, religious belief, age
and disability. Fears of resurgent extremist nationalism among some EU Member
States stimulated sufficient political will among leaders to allow for the European
Community Treaty to be amended, giving the Community the competence to
legislate in these areas.
In 2000, two directives were adopted: the Employment Equality Directive prohibited
discrimination on the basis of sexual orientation, religious belief, age and disability
in the area of employment; the Racial Equality Directive prohibited discrimination on
the basis of race or ethnicity in the context of employment, but also in accessing the
welfare system and social security, and goods and services. This was a significant
expansion of the scope of non-discrimination law under the EU, which recognised
that in order to allow individuals to reach their full potential in the employment
market, it was also essential to guarantee them equal access to areas such as health,
education and housing. In 2004, the Gender Goods and Services Directive expanded
the scope of sex discrimination to the area of goods and services. However,
protection on the grounds of sex does not quite match the scope of protection under
the Racial Equality Directive since the Gender Social Security Directive guarantees
equal treatment in relation to social security only and not to the broader welfare
system, such as social protection and access to healthcare and education.
Although sexual orientation, religious belief, disability and age are only protected
grounds in the context of employment, a proposal to extend protection for
these grounds to the area of accessing goods and services (known as ‘Horizontal
Directive’) is currently being debated in the EU institutions.