If a beaver dam causes a threat to personal safety or a serious threat to damage property, a person may petition the district court for relief. The court may order the owners of private property where beaver dams are located to take action to reduce the threat. A permit is not required for an action ordered by the court. The action may include destruction or alteration of beaver dams and removal of beaver. This subdivision does not apply to state parks, state game refuges, and federal game refuges.