Societal Abuses, Discrimination, and Acts of Violence Based on Sexual Orientation and Gender Identity The law prohibits discrimination based on sexual orientation or gender identity, and the criminal code provides penalties for crimes motivated by bias, prejudice, or hate based on personal characteristics, including sexual orientation.