I believe dressing smartly and with respect to being in a court is sufficient, so no jeans etc. If you have a suit, wear it. You are becoming a citizen - there aren't too many occasions to wear formal wear these days, but in person citizenship ceremony is one.