The European Parliament has passed a resolution on gender equality, which contains a declaration that trans women are women.