The behavior that is both territorial and used for courtship is:
sparring or wrestling using antlers or horns.
This behavior is often seen in many species, such as deer, where males will compete for territory as well as to attract potential mates through displays of strength.