As a criminally charged person before the court, are you detained or are you free to go while before the court per the order of the court to be present in a criminal hearing?
International Law
1963 Vienna Convention on Consular Relations
Article 36
(b) if he so requests, the competent authorities of the receiving State shall, without delay, inform the consular post of the sending State if, within its consular district, a national of that State is arrested or committed to prison or to custody pending trial or is detained in any other manner. (highlights added) Any communication addressed to the consular post by the person arrested, in prison, custody or detention shall be forwarded by the said authorities without delay. The said authorities shall inform the person concerned without delay of his rights under this subparagraph;
Body of Principles for the Protection of All Persons under Any Form of Detention or Imprisonment; Adopted by General Assembly resolution 43/173 of 9 December 1988:
(b) "Detained person" means any person deprived of personal liberty except as a result of conviction for an offence; [...]
(d) "Detention" means the condition of detained persons as defined above;
Further reads: