'Avatar' Actor Appears Before NYC Judge