1. Place the rosemary, garlic, oregano, salt, and black pepper in a food processor and process until minced.
2. Add olive oil and process into a coarse paste.
3. Place the racks of lamb on baking sheet with the rib ends pointing down and spread the paste evenly on top of both racks. Cover and refrigerate for at least six hours.