Within the Alhambra , the Palace of Charles V was erected by Charles V , Holy Roman Emperor in 1527 . The Palace of Charles V , built by Charles V , Holy Roman Emperor in 1527 , was inserted in the Alhambra within the Nasrid fortifications .