When visiting the Madrid Royal Palace, there are dress code limitations that should be observed. For instance, shorts, sleeveless shirts, and sandals are considered inappropriate. It is advisable to dress appropriately and respectfully, as befitting a formal environment.