pride and extreme prejudice cheese question

Does Pride and Extreme prejudice works if you beat the UK, take all of their nave except the pride of the fleet, and then destroy it when you declare war on them again? or does doing that cancels the achievement?