Retail pharmacy can rest easy with AMP victory