Calling themselves Maharajahs , the prime ministers and their relatives built dozens of palaces in Kathmandu , usually in an incongruous neoclassical style .
The prime ministers built many palaces in the neoclassical style .