But those are travel restrictions, not restrictions of entry. For Australia it doesn't make a big difference but they still cannot turn away citizens at their borders. They can detain people or quarantine them but not send them back. I'm not sure if there's any country where denying entry to your citizens is legal.