A5: Lopyrev's role allowed him access to the palace's secrets, including hidden entrances and vulnerabilities, making him privy to its intricate details.