Residents who want to keep a monkey as a pet will now need a council licence to do so as part of new national regulations.