The Security Council voted to approve such a force to take over from a small African Union force in Darfur , but Sudan has rejected it , saying it would fight foreign peacekeepers if they tried to deploy .