US judge questions illegality of seeking an injunction