I was diagnosed with AS and OCD at the same time. In my psychological report it says they gave me both diagnoses because my OCD behaviors were so servery they warranted a separate diagnoses.
That is not the exact wording of it but I couldn't be bothered to dig in my closet for my medical records.