I was driving very slowly down a residential side street and started to pull over to the right side to park behind a car. This parking spot was on a slight incline and the curb was made up of two slanted cobblestones. After I moved in to position within about 2 ft from the car in front of me, my car quickly accelerated and slammed in to it. While I did not notice it at the time, after noticing the nature of the damage to both cars, it appeared as though the car may have tried to swerve from the curb. I believe the front sensors detected there was something in the way and the car swerved left hitting the parked car in front of me. There were no warnings before the event and I did not notice the warnings on the dashboard when the car collided because I was too upset and got out quickly, but I definitely noticed that the dashboard was lit up. Progressive Insurance, Mercedes Customer Service and Hanover MA Dealership, and Norwell Collision have all since been involved. The car was towed to the body shop immediately after the incident. Mercedes Service at first advised me to keep the car as is until they had a chance to run tests, but then advised us to get the car repaired at the body shop so we didn't wait to long to get it back (I had told them that I would not drive it again unless Mercedes ran full diagnostics and convinced me that it was safe to drive). The body shop made the repairs and then delivered the car to Mercedes Hanover to run tests. They believe the car is fine