No objection certificate PhD guide

Is it necessary to obtain no objection certificate from the previous supervisor? Suppose if I had some terrible issues with my previous supervisor and would like to submit an application in university for the change of supervisor, but he doesn’t agree to sign the certificate, will my supervisor be changed?