Autism and the law

Seems like it would have to be treated on a case by case basis.. How do you excuse one person with "extreme autism" and not excuse someone with "moderate autism"?

In court, it would be no problem to have a medical expert come in and give his/her testimony as to how severe the autism case is. Problem is, you can't have a medical expert riding around with a state trooper.