Extortion?  Of course it is!
The Feds hand out grants like crack, and then threaten to pull them when they want compliance, but do not have the authority (ex: 55 mph speed limits).
In this case though the Feds are asking that cities stop aiding & abetting illegal activity. Why shouldn't there be punishments involved?