You could certainly be charged with the robbery.  That does not mean, however, that you do not have defense.  The prosecution must show that there was "intent" to commit the offense.  You would be wise to retain counsel.