The WWE got an emergency restraining order against an obsessed fan who carried out a poop-smearing attack on a WWE training facility ... fearing he would strike again.
TMZ Sports has obtained court docs showing Vince McMahon's company had a very real fear of Armando Alejandro Montalvo -- who's allegedly been harassing the company since 2015.
According to the court docs, Montalvo smeared his own feces all over the walls at the WWE Training Center in Orlando back in July 2015.
He continued his bizarre campaign against the company in the following days .