Application for Certificate of residence for the purposes of an agreement under section 159(1) and 159(2)