Once this marriage is over, and it is recognized by the locality, but not by the official administration over there, the girl can then abandon this first 'husband' and go in for a proper legally recognized marriage (link to article):
The 18-year-old, who lives in a small village in the state of Jharkland, India, recently married a stray pooch in order to ward off a curse that her fellow villagers feared would cause the death of any man who married her. "The village elders told us that we should organize the wedding as soon as we can," he told Barcroft TV. "We had to make sure that the evil spell is destroyed."This is called a use and throw husband.