Samurai were not in the court, but were in the 'lower side' (ka or ke), which was a building with five gaps between pillars along the mud wall with a roof north of the imperial palace, and this was not just for samurai, but also for gochodo (sodomy partner) of Shirakawain and gojiso (a priest who prays to guard the emperor).
武士が居たのは殿上ではなく、「下」（カ、またはケ）で、御所の北の築地に沿う五間屋であるが、こちらも武士だけではなく、白河院の「御寵童」（男色の相手）や、護持僧なども含んでいた。