(d)The Commission shall have jurisdiction to hear and determine any other matter arising under any other function of the Secretary—
(1)involving any agency determination required by law to be made on the record after an opportunity for an agency hearing; or
(2)involving any other agency determination which the Secretary determines shall be made on the record after an opportunity for an agency hearing,
except that nothing in this subsection shall require that functions under sections 6213 and 62141 of this title shall be within the jurisdiction of the Commission unless the Secretary assigns such a function to the Commission.