Nothing in this chapter shall be construed to prohibit any program, service, facility, or privilege afforded to a person with a disability which is intended to habilitate, rehabilitate, or accommodate that person. It is a defense to a complaint or action brought under the employment provisions of this chapter that the person bringing the complaint or action has a disability which in the circumstances and even with reasonable accommodation, as defined in section 363A.08, subdivision 6, poses a serious threat to the health or safety of the disabled person or others. The burden of proving this defense is upon the respondent.