Subject to such regulations and restrictions as may be prescribed by the Secretary concerned, the performance of funeral honors functions by members of the National Guard at funerals for veterans of the armed forces may be treated by the Secretary concerned as a Federal function for which appropriated funds may be used. Any such performance of funeral honors functions at such a funeral may not be considered to be a period of drill or training, but may be performed as funeral honors duty under section
115 of this title.