This behaviour is an evolutionarily stable strategy for reproduction, because it is favoured by natural selection just like the standard strategy of large males.
Some degree of gene flow is a normal evolutionarily process, nevertheless, hybridization (with or without introgression) threatens rare species' existence.
Evolutionarily, this makes sense, because often, actions that result in pleasure or chemicals that induce pleasure work towards restoring homeostasis in the body.