This same section of The Holiness Code includes the prohibition of male homogenital acts. The point is that The Holiness Code of Leviticus prohibits male same-sex acts because of religious considerations, not because of sexual or moral ones. The concern was to keep Israel from taking part in Gentile practices. The argument in Leviticus is religious, not ethical or moral. That is to say, no thought is given to whether the sex in itself is right or wrong.
All concern is for keeping Jewish identity strong.
The reasons used to forbid it then have no bearing on today's discussion of homosexuality. To make a comparison, there used to be a church law that forbade Roman Catholics to eat meat on Fridays, and that is still observed less strictly by many Catholics during Lent. That church law was considered so serious that violation was a mortal sin, supposedly punishable by hell. Yet no one believed that eating meat was something wrong in itself. The offense was against a religious responsibility, to act like a Catholic.