Change the name on the residence permit ID card to Aleksandra, change the signature to Aleksandra, and change the sex/Geschlecht from M to F. Keep everything else exactly the same including the photo, background, and all other details.
Are you sure?