Well, when you register, you get a "white card" (Bijeli karton) and this could be asked at the border when you leave. If you don't have it, you could probably be fined...
I don't think they ask for it very often, but there is a risk, and anyway, this is the law, so you should respect it !!
Cheers!