The counter party has pleaded guilty , Should i prove i am not guilty ?

My car collided with Bike on 15th Dec 2018. The owner of the bike ( Mr A) sustained " Fracture Rt toe". On the civil side Mr A filed for compensation and was awarded 4 Lakhs within a year ( around Nov 2019). On the Criminal side Two separate FIR s were filed against me and Mr A . Two separate cases were filed against me and Mr A. Against me under Sec 279 and 338 of CPC . I am contesting that i am not guilty. Against Mr A case was filed under Sec 279 of IPC. On [deleted] Mr A pleaded guilty and was fined Rs 1000. He did pay the amount and the case is closed. I got know this recently and i requested the concerned Police officer to withdraw the case against me in the next hearing.He said it is not possible. My contention was , when Mr A pleads guilty , I am automatically not guilty. Accordingly yesterday ( 16-092021) i submitted before the Judge ( Magistrate) that Mr A ( the other party involved in the accident) has pleaded guilty and I am automatically not guilty, both cannot be guilty. My lawyer/ the Govt lawyer and the Judge did not agree. Case was adjourned . Am I wrong ?