(a) The court, or chancellor in vacation, shall examine the application and the objections thereto, if any, and may hear testimony, by depositions or by viva voce, in reference thereto, and shall make such decree thereon as may be for the best interest of the minor.
(b) If a decree is rendered removing the disability of a minor, it shall be rendered by the court having jurisdiction for a specific purpose and such purpose shall be so stated in such decree.