The limit of $1,000 in that statute only applies when the clerk sets the bail. Look at the part of the statute I put in bold: it specifically tells you that paragraph (b) only limits the powers of the clerk, not the judge. So that statute does not help you here.
Without knowing all the details of your case — what all the charges were, what the maximum possible penalties were, etc., I cannot say if the court imposed excessive bail. However, if the maximum penalty that could be imposed for the offense was $50 with no other possible penalty (e.g. no possible jail time, etc), then imposing a $10,000 bail requirement would clearly be excessive.