soon after the tokugawa family and its supporters eliminated the toyotomi family and its supporters at the battle of osaka castle in1615, the tokugawa shogunate proceeded to promulgate the laws for the royal court and the curt nobles governing the functions and behavior of the emperor and the court , which had the effect of stripping the emperor of any administrative power of function