The Himachal Pradesh High Court dismissed a habeas corpus petition in a case involving an alleged adulterous relationship.