A clamping pin (1) intended to be inserted into and held in an opening of a medical device comprises a screw (5) having a longitudinal axis (100), a first clamping element (2) having an inclined surface (23) that is inclined to the longitudinal axis (100) and a second clamping element (3) having an inclined surface (33) that is inclined to the longitudinal axis (100). The inclined surfaces (23) are in contact with each others. The screw (5) extends at least partly through both clamping elements and engages in one of them such that relative axial displacement of the clamping elements (2,3) leading to radial expansion of the clamping pin occurs upon rotation of the screw (5).