Temporary ex parte orders and permanent orders are issued by a civil court and may be obtained by filing an application with the court clerk. Emergency protective orders are issued by the criminal court. In the case of an EPO, the judge shall issue the order if serious physical injury or use of a deadly weapon is involved. Tex. C.C.P. Art. 17.292(a) & (b).