Federal law says that state and local governments can’t force employers to change their employee benefits plans. Only Congress can.

A Wal-Mart-backed trade group has twice used this well-established precedent to scuttle state and local laws aimed at setting minimum health care spending requirements in Maryland and New York.