Wrong.
The legislation only requires them to be treated “the same as” U.S. armed forces veterans, it does not proclaim them U.S. armed forces veterans.
The head stones provided for Confederate veterans are not the same as the head stones provided to real U.S. armed forces veterans.