It makes sense if your ancestor was a junior reserve and the regiment he eventually joined was the 1st Alabama Junior Reserves. The surrender agreement which covered Greenville would have been that of General Richard Taylor, not General Lee.
What was you ancestor's name? That will help anyone who wants to check the records, including myself.