That's the claim but it's not enforceable.
If the country of first arrival is not safe, the policy cannot be enforced.
If the country of first arrival refuses to accept the returned asylum seeker, the policy cannot be enforced.
if the country of first arrival is unlikely to grant asylum, the policy cannot be enforced.
So the UK domestic policy is reliant on the cooperation of other countries, to enforce.