The resolution to take restraining measures shall be issued by a court, prosecutor, inquirer, and investigator.