The prime minister insists he has been successful in clinching a agreement that protects Poland’s interests.