2 of 5 added 160 characters in body

If you study the piece you will notice that it tends to resolve to C. It also ends with a C therefore I believe it is written in C-Minor.

If you omit the third accidental the key signature would change to either B-Major or As-Minor which wouldn't outline the tension towards the C in the piece.