Judge grants AP injunction over Gulf of America banning