Laws today are pretty complex and there's a lot of them. During the times of the Aztecs the laws were simple, the punishments were harsh though... some even punishable by death. When being tried the emperor would be the judge and, just like today people from the community were selected to be like a jury. Even though there were no police officers to enforce the laws back then, the people enforced and supported the laws.