by activating the safety brakes when the elevator car exceeds a certain upper or lower position in the elevator shaft