Law enforcement is their job

Is there a problem when a state Attorney General says bluntly that they won’t enforce a ruling by the judiicial system or a law duly passed by legislators?