If it's the immigration court, then yes, talk to that court. If it is a state criminal court, then that.
In any case, the probation officer is the person you need to talk to first.