They DO NOT ask for legal status in court rooms. My father got several tickets for accidentally selling alcohol to a minor at our gas station and never once did they ask for legal status (thank god).
He was also in court once due to the landlord of the store suing us over something stupid.. even that time they didnt ask for legal status.
This was in FL courts... so I don't know if other states have different rules but I highly doubt they ask for status. However, you do need VALID ID to enter court rooms
Good luck! I hope everything goes well!!