A prisoner on transit warrant (PT warrant) cannot be used for the purpose of keeping a person in detention without producing him/ her before the concerned court and such non-production will certainly curtail the liberty of a person, the Madras High Court recently ruled.