Health and Home Affairs officials in court over illegal adoption