Rooney leaves court after receiving drink-driving ban