Inference for a change-point problem under a generalised Ornstein–Uhlenbeck setting