MINNEAPOLIS (AP) — A judge has struck down — for now — an NFL policy preventing off-duty Minnesota police officers from carrying guns at Vikings games.

Two police organizations challenged the rule, arguing that NFL policy cannot trump state law.

READ MORE: Sign Bearing George Floyd's Name Unveiled At 38th And Chicago

Judge Ivy Bernhardson ruled Thursday in favor of the Minnesota Police and Peace Officers Association and the Police Officers Federation of Minneapolis. However, the NFL’s policy will remain in place pending further court guidance. The judge hasn’t set future court dates.

The ruling applies only in Minnesota.

READ MORE: 'It's Bizarre': Southern Minnesota Ghost Town Still Attracting Summer Visitors

Police groups argued that even off-duty officers need to be armed at Vikings games, to protect themselves and the public.

NFL spokesman Greg Aiello says the policy is designed to keep fans safe. He says the NFL will continue enforcing it until the matter is resolved.

MORE NEWS: Sign Bearing George Floyd's Name Unveiled At 38th And Chicago: 'This Is Just Another Step Forward'

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)