Confederate Memorial, outside the State Capitol Building in Montgomery. (Photo by: Jeffrey Greenberg/UIG via Getty Images)
Jeff Greenberg/Universal Images Group Editorial/UIG via Getty Images
Confederate Memorial, outside the State Capitol Building in Montgomery. (Photo by: Jeffrey Greenberg/UIG via Getty Images)
Now playing
01:34
Confederate monuments that still exist in the US
durham protest confederate monument torn down_00001415.jpg
durham protest confederate monument torn down_00001415.jpg
Now playing
00:45
Protesters tear down Confederate monument
Silent Sam UNC
@ssiddiqui83/Twitter
Silent Sam UNC
Now playing
00:52
Protesters knock down Confederate statue at UNC
WJLA
Now playing
00:46
Baltimore removes Confederate statues by night
A statue of a Confederate soldier constructed in 1911 in displayed in a downtown park and will be moved to a nearby cemetery after it was decided in a hearing with supporters and protestors of the statue, Tuesday, May 16, 2017, in Orlando, Fla. (AP Photo/John Raoux)
John Raoux/AP
A statue of a Confederate soldier constructed in 1911 in displayed in a downtown park and will be moved to a nearby cemetery after it was decided in a hearing with supporters and protestors of the statue, Tuesday, May 16, 2017, in Orlando, Fla. (AP Photo/John Raoux)
Now playing
00:54
Confederate monument in Tampa will stay put
A statue of Confederate general Robert E. Lee sits in Emancipation Park, Tuesday, Aug. 15, 2017, in Charlottesville, Va. The deadly rally by white nationalists in Charlottesville, over the weekend is accelerating the removal of Confederate statues in cities across the nation.  (AP Photo/Julia Rendleman)
Julia Rendleman/AP
A statue of Confederate general Robert E. Lee sits in Emancipation Park, Tuesday, Aug. 15, 2017, in Charlottesville, Va. The deadly rally by white nationalists in Charlottesville, over the weekend is accelerating the removal of Confederate statues in cities across the nation. (AP Photo/Julia Rendleman)
Now playing
02:16
Trump in 2017: Removal of Confederate statues is sad
cnnee pkg ione respuesta trump charlottesville critica ceos abandonan consejo presidencial_00005422.jpg
cnnee pkg ione respuesta trump charlottesville critica ceos abandonan consejo presidencial_00005422.jpg
Now playing
02:40
Backlash continues over Trump's comments
statue
CNN
statue
Now playing
01:14
US Capitol home to several Confederate statues
Confederate statues Kate Bolduan stop talking ath_00000000.jpg
Confederate statues Kate Bolduan stop talking ath_00000000.jpg
Now playing
01:57
CNN anchor to guest: Stop talking
charlottesville confederate monument nd_00023519.jpg
CNN
charlottesville confederate monument nd_00023519.jpg
Now playing
02:36
What led to Charlottesville protests?
CORRECTS TITLE FROM PRESIDENT TO GENERAL Workers prepare to take down the statue of Robert E. Lee, former general of the Confederacy, which stands in Lee Circle in New Orleans, Friday, May 19, 2017.  The city is completing the Southern city's removal of four Confederate-related statues that some called divisive. (AP Photo/Gerald Herbert)
Gerald Herbert/AP
CORRECTS TITLE FROM PRESIDENT TO GENERAL Workers prepare to take down the statue of Robert E. Lee, former general of the Confederacy, which stands in Lee Circle in New Orleans, Friday, May 19, 2017. The city is completing the Southern city's removal of four Confederate-related statues that some called divisive. (AP Photo/Gerald Herbert)
Now playing
00:49
'Lost cause of Confederacy' comes to end
Alt-right march in Charlottesville, Virginia
phedlund/Instagram
Alt-right march in Charlottesville, Virginia
Now playing
01:02
Torches brought to Confederate statue protest
confederate flags found Ebenezer Baptist Church MLK king_00003824.jpg
confederate flags found Ebenezer Baptist Church MLK king_00003824.jpg
Now playing
01:06
Confederate flags found at MLK's church
387975 02:  The Mississippi State flags flies April 17, 2001 in Pascagoula, MS. Voters will decide whether to replace the state's old flag, which sports the Confederate battle cross, with a new flag that would have 20 white stars on a blue square.  (Photo by Bill Colgin/Getty Images)
William Colgin/Hulton Archive/Getty Images
387975 02: The Mississippi State flags flies April 17, 2001 in Pascagoula, MS. Voters will decide whether to replace the state's old flag, which sports the Confederate battle cross, with a new flag that would have 20 white stars on a blue square. (Photo by Bill Colgin/Getty Images)
Now playing
01:06
Ole Miss students want state flag taken down
Now playing
02:04
Mayor's moving Confederate monuments speech
(CNN) —  

A Virginia judge has ruled that statues of Confederate generals Robert E. Lee and Thomas J. “Stonewall” Jackson in Charlottesville are war monuments that the city cannot remove without permission from the state.

In a nine-page ruling obtained from the University of Virginia School of Law website, Circuit Court Judge Richard E. Moore said neither the intentions of the people who erected the statues nor how they make people feel change the fact that the statues pay homage to the Civil War. Moore cited state code in his ruling that says it is illegal for municipalities to remove such monuments to war.

“I find this conclusion inescapable,” Moore said. “It is the very reason the statues have been complained about from the beginning. It does no good pretending they are something other than what they actually are.”

A statue of Confederate General Robert E. Lee stands at Emancipation Park August 10, 2018 near downtown Charlottesville, Virginia.
LOGAN CYRUS/AFP/Getty Images
A statue of Confederate General Robert E. Lee stands at Emancipation Park August 10, 2018 near downtown Charlottesville, Virginia.

Don Gathers, the former chair of the city’s Blue Ribbon Commission on Race, Memorials and Public Spaces, said he disagreed with the judge’s ruling because it retraumatizes the city.

“Just because something is legal, doesn’t mean it’s right or it’s moral. I’m fearful what this has done is given the vile evilness that descended upon us in August of 2017 to come back,” he said.

The ruling comes nearly two years after the Unite the Right rally, a white nationalist gathering, left counterprotester Heather Heyer dead. The Charlottesville City Council voted to remove the statues in response to the rally, CNN affiliate WVIR-TV reported.

The city also covered the statues with black tarp while it mourned the deaths of Heyer and two troopers who died during the rally. However Judge Moore ruled the tarps had to be removed because the city never defined what a “temporary” shrouding meant. Moore also said the tarps have interfered with the public’s right to see the monuments and enjoy the parks.

Outstanding motions remain in the case, according to Charlottesville spokesman Brian Wheeler.

“The ruling resolves one major legal issue in the case, specifically it sets forth Judge Moore’s opinion that the statues are war memorials,” he said. The judge will decide whether the question of the statues’ removal will go to trial in September, Wheeler said.

CNN’s Janet DiGiacomo contributed to this report.