Notwithstanding any other provision of law, a psychologist licensed under the “Maryland Psychologists Act” and qualified as an expert witness may testify on ultimate issues, including insanity, competency to stand trial, and matters within the scope of that psychologist’s special knowledge, in any case in any court or in any administrative hearing.