Federal judge grants temporary restraining order on state va