Why would something that was routine require a court order?
@skeeter If someone has evidence of voter fraud, which is a crime, he/she goes to the district attorney with that information and the district attorney is required to do an investigation. That is in the state's election code laws. If the district attorney finds someone did commit voter fraud, he goes to the grand jury with that information. If the grand jury agrees that person likely did commit voter fraud, which is a crime, an indictment is handed down.
An example, when Gov. Greg Abbott was our state attorney general, he got an indictment for a woman who committed voter fraud and she was convicted and had to pay a fine - however, she didn't know she was committing a crime.
Her mother lived with her and was very ill. The mother had requested a maill ballot and it was at the house. The mother died before she filled it out. The woman filled out the ballot knowing how her mother would have voted, and mailed it in. The Early Voting Ballot Board noticed the mother had died before the ballot was mailed. They gave that info. to their district attorney and he forwarded it to the state attorney general rather than doing it himself, which is legal. Greg Abbott acted on it and convicted the woman.