A. No person shall be subject to any criminal procedures after the person is determined to be incompetent except as provided in Sections 1175.1 through 1175.8 of this title. The question of the incompetency of a person may be raised by the person, the attorney for the person whose competency is in question, or the district attorney, by an application for determination of competency. The application for determination of competency shall allege that the person is incompetent to undergo further proceedings, and shall state facts sufficient to raise a doubt as to the competency of the person. The court, at any time, may initiate a competency determination on its own motion, without an application, if the court has a doubt as to the competency of the person. If the court so initiates such an application, it may appoint the district attorney for the purpose of proceeding with the application. If the district attorney opposes the application of the court, and by reason of a conflict of interest could not represent the court as applicant, then the court shall appoint private counsel. Said private counsel shall be reasonably compensated by the court fund.