No kidding. I have a friend who had one against him by a psycho girlfriend. She lied in her petition and the judge still granted it.
In many states, if you have a restraining order against you, you lose the right to buy firearms.