Judges urged to use powers wisely