He said France is committed to the struggle against discrimination and prejudice linked to sexual orientation and gender identity .