In Palermo , churches and mosques stood side-by-side , feudal castles next to Oriental palaces and their exotic gardens .
Palemo had feudal castles next to Oriental palaces as well as mosques near churches .