If the guardian denies her right in getting married for an unlawful reason, she should go to court in order to settle that matter, and the guardian is considered sinful in this case.