The subject of this study is the analysis of the court proceedings regarding the precautionary measure in the form of a stay in a psychiatric institution. The purpose of the article will be to demonstrate whether this procedure sufficiently protects the rights and civil
liberties of the perpetrator of the prohibited act and the interests of the injured party.